Skip to content

Commit 0cf5f7e

Browse files
authored
Update prestart.sh
1 parent 6a362cf commit 0cf5f7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

root/config/supervisor/prestart.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ mkdir -p "/share/workers/$(hostname -s)/supervisor"
1616
cp /share/workers/defaults/local.conf "/share/workers/$(hostname -s)/supervisor"
1717

1818
# This php script creates (builds) the supervisord configurations for this server.
19-
php /share/websites/www/notifiarr.com/supervisor/confBuilder.php
19+
if ! php /share/websites/www/notifiarr.com/supervisor/confBuilder.php; then
20+
echo "The previous error is from confBuilder.php" >&2
21+
exit 1
22+
fi
23+
2024
# The files created by confBuilder.php go in this directory. Fix their ownership.
2125
chown -R abc: "/share/workers/$(hostname -s)/supervisor"

0 commit comments

Comments
 (0)