Skip to content

Commit

Permalink
v1.53.1.sh: Prevent breaking the web interface during apache2 reload
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias K <[email protected]>
  • Loading branch information
theCalcaholic committed Jan 25, 2024
1 parent 79e1bff commit 641685f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions etc/ncp-templates/apache2/ncp.conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,4 @@ Listen 4443
</RequireAll>
</Directory>
EOF

systemctl reload apache2
EOF
1 change: 1 addition & 0 deletions updates/1.53.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ set -e
source /usr/local/etc/library.sh

install_template apache2/ncp.conf.sh /etc/apache2/sites-available/ncp.conf --defaults
bash -c "sleep 2 && service apache2 reload" &>/dev/null &

0 comments on commit 641685f

Please sign in to comment.