From 641685f5c7367d4a7b2bb96527d6179872f8594b Mon Sep 17 00:00:00 2001 From: Tobias K <6317548+theCalcaholic@users.noreply.github.com> Date: Thu, 25 Jan 2024 22:55:26 +0100 Subject: [PATCH] v1.53.1.sh: Prevent breaking the web interface during apache2 reload Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> --- etc/ncp-templates/apache2/ncp.conf.sh | 4 +--- updates/1.53.1.sh | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/ncp-templates/apache2/ncp.conf.sh b/etc/ncp-templates/apache2/ncp.conf.sh index 8ecd09b7b..b8a7c60e1 100644 --- a/etc/ncp-templates/apache2/ncp.conf.sh +++ b/etc/ncp-templates/apache2/ncp.conf.sh @@ -47,6 +47,4 @@ Listen 4443 -EOF - -systemctl reload apache2 \ No newline at end of file +EOF \ No newline at end of file diff --git a/updates/1.53.1.sh b/updates/1.53.1.sh index b56002d8d..837d580d7 100644 --- a/updates/1.53.1.sh +++ b/updates/1.53.1.sh @@ -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 & \ No newline at end of file