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
rm -f /srv/atheme/var/atheme.pid
su atheme -c "/srv/atheme/bin/atheme-services \
-c $DATADIR/atheme.conf \
-n"
su atheme \
-c "/srv/atheme/bin/atheme-services \
-c $DATADIR/atheme.conf \
-n"

@ -49,4 +49,4 @@ COPY root/ /
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
fi
su solanum -c "/srv/solanum/bin/solanum \
-configfile /srv/data/etc/ircd.conf \
-logfile /srv/data/logs/ircd.logs \
-foreground"
su solanum \
-c "/srv/solanum/bin/solanum \
-configfile /srv/data/etc/ircd.conf \
-logfile /srv/data/logs/ircd.logs \
-foreground"
Loading…
Cancel
Save