Minor improvements

master
Meliurwen 3 years ago
parent dadd12f8d4
commit d2d42faf8b
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 3
      atheme/root/entrypoint.sh
  2. 2
      solanum/Dockerfile
  3. 3
      solanum/root/entrypoint.sh

@ -12,6 +12,7 @@ if [ ! -e $DATADIR/atheme.conf ]; then
fi fi
rm -f /srv/atheme/var/atheme.pid rm -f /srv/atheme/var/atheme.pid
su atheme -c "/srv/atheme/bin/atheme-services \ su atheme \
-c "/srv/atheme/bin/atheme-services \
-c $DATADIR/atheme.conf \ -c $DATADIR/atheme.conf \
-n" -n"

@ -49,4 +49,4 @@ COPY root/ /
EXPOSE 5000 6665-6669 6697 9999 EXPOSE 5000 6665-6669 6697 9999
ENTRYPOINT ["/start.sh"] ENTRYPOINT ["/entrypoint.sh"]

@ -14,7 +14,8 @@ if [ ! -e /srv/data/etc/ircd.motd ]; then
cp /srv/solanum/etc/ircd.motd /srv/data/etc/ircd.motd cp /srv/solanum/etc/ircd.motd /srv/data/etc/ircd.motd
fi fi
su solanum -c "/srv/solanum/bin/solanum \ su solanum \
-c "/srv/solanum/bin/solanum \
-configfile /srv/data/etc/ircd.conf \ -configfile /srv/data/etc/ircd.conf \
-logfile /srv/data/logs/ircd.logs \ -logfile /srv/data/logs/ircd.logs \
-foreground" -foreground"
Loading…
Cancel
Save