Skip to content

Commit 641685f

Browse files
committed
v1.53.1.sh: Prevent breaking the web interface during apache2 reload
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
1 parent 79e1bff commit 641685f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

etc/ncp-templates/apache2/ncp.conf.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,4 @@ Listen 4443
4747
</RequireAll>
4848
4949
</Directory>
50-
EOF
51-
52-
systemctl reload apache2
50+
EOF

updates/1.53.1.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ set -e
44
source /usr/local/etc/library.sh
55

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

0 commit comments

Comments
 (0)