diff --git a/root/config/supervisor/prestart.sh b/root/config/supervisor/prestart.sh index ee80289..b72ad38 100755 --- a/root/config/supervisor/prestart.sh +++ b/root/config/supervisor/prestart.sh @@ -1,10 +1,11 @@ #!/usr/bin/bash -PATH=/usr/bin - # This script is executed by systemd before sueprvisord is started. # See: https://github.com/Notifiarr/workers/blob/main/root/etc/systemd/system/supervisor.service.d/notifiarr.conf +set -e +PATH=/usr/bin + # Before starting supervisor, we create a symlink to the website config file for this server. ln -sf "/share/websites/confs/server.$(hostname -s)" "/config/server.json"