v1.53.1.sh: Prevent breaking the web interface during apache2 reload

Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias K 2024-01-25 22:55:26 +01:00
parent 79e1bff1c9
commit 641685f5c7
No known key found for this signature in database
GPG Key ID: 44FD368932E645C1
2 changed files with 2 additions and 3 deletions

View File

@ -47,6 +47,4 @@ Listen 4443
</RequireAll>
</Directory>
EOF
systemctl reload apache2
EOF

View File

@ -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 &