Skip to content

Commit

Permalink
Merge pull request #3 from Notifiarr/davidnewhall-patch-1
Browse files Browse the repository at this point in the history
Copy local.conf from shared storage.
  • Loading branch information
davidnewhall authored May 26, 2024
2 parents f9eeca8 + e085855 commit 0e43323
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions root/config/supervisor/prestart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ ln -sf "/share/websites/confs/server.$(hostname -s)" "/config/server.json"
# We also create a symlink to a server-specific log directory in shared storage.
ln -Tsf "/share/logs/notifiarr/supervisor/$(hostname -s)" "/config/log"

mkdir "/share/workers/$(hostname -s)"
mkdir "/share/workers/$(hostname -s)/supervisor"
cp /share/workers/defaults/local.conf "/share/workers/$(hostname -s)/supervisor"

# This php script creates (builds) the supervisord configurations for this server.
php /share/websites/www/notifiarr.com/supervisor/confBuilder.php
# The files created by confBuilder.php go in this directory. Fix their ownership.
Expand Down

0 comments on commit 0e43323

Please sign in to comment.