Minor improvements

master
Meliurwen 3 years ago
parent dadd12f8d4
commit d2d42faf8b
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 7
      atheme/root/entrypoint.sh
  2. 2
      solanum/Dockerfile
  3. 9
      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 $DATADIR/atheme.conf \ -c "/srv/atheme/bin/atheme-services \
-n" -c $DATADIR/atheme.conf \
-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 \
-configfile /srv/data/etc/ircd.conf \ -c "/srv/solanum/bin/solanum \
-logfile /srv/data/logs/ircd.logs \ -configfile /srv/data/etc/ircd.conf \
-foreground" -logfile /srv/data/logs/ircd.logs \
-foreground"
Loading…
Cancel
Save