Skip to content

Commit b092ce4

Browse files
authored
Merge pull request #4 from Notifiarr/davidnewhall-patch-1
Update prestart.sh
2 parents 6a362cf + 0cf5f7e commit b092ce4

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)