Skip to content

Commit 0e43323

Browse files
authored
Merge pull request #3 from Notifiarr/davidnewhall-patch-1
Copy local.conf from shared storage.
2 parents f9eeca8 + e085855 commit 0e43323

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

root/config/supervisor/prestart.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ ln -sf "/share/websites/confs/server.$(hostname -s)" "/config/server.json"
1212
# We also create a symlink to a server-specific log directory in shared storage.
1313
ln -Tsf "/share/logs/notifiarr/supervisor/$(hostname -s)" "/config/log"
1414

15+
mkdir "/share/workers/$(hostname -s)"
16+
mkdir "/share/workers/$(hostname -s)/supervisor"
17+
cp /share/workers/defaults/local.conf "/share/workers/$(hostname -s)/supervisor"
18+
1519
# This php script creates (builds) the supervisord configurations for this server.
1620
php /share/websites/www/notifiarr.com/supervisor/confBuilder.php
1721
# The files created by confBuilder.php go in this directory. Fix their ownership.

0 commit comments

Comments
 (0)