diff --git a/atheme/root/entrypoint.sh b/atheme/root/entrypoint.sh index 9f3a059..46d4c21 100755 --- a/atheme/root/entrypoint.sh +++ b/atheme/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" diff --git a/solanum/Dockerfile b/solanum/Dockerfile index 0d50919..116e82b 100644 --- a/solanum/Dockerfile +++ b/solanum/Dockerfile @@ -49,4 +49,4 @@ COPY root/ / EXPOSE 5000 6665-6669 6697 9999 -ENTRYPOINT ["/start.sh"] +ENTRYPOINT ["/entrypoint.sh"] diff --git a/solanum/root/start.sh b/solanum/root/entrypoint.sh similarity index 69% rename from solanum/root/start.sh rename to solanum/root/entrypoint.sh index 6751b5d..ff99f04 100755 --- a/solanum/root/start.sh +++ b/solanum/root/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"