From 186402fbe83fcff9b15bfab81a6d35cebe431126 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Fri, 22 Feb 2019 19:26:08 +0100 Subject: [PATCH 1/1] core128: stop apache before replacing files apache will not restart without stopped before the files was replaced. Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/128/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/128/update.sh b/config/rootfiles/core/128/update.sh index bc15679c5c..9c9486e41d 100644 --- a/config/rootfiles/core/128/update.sh +++ b/config/rootfiles/core/128/update.sh @@ -80,6 +80,7 @@ rm -rf /lib/modules rm -f /etc/sysconfig/lm_sensors # Stop services +/etc/init.d/apache stop # Remove files rm -vf \ @@ -108,7 +109,7 @@ if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then /etc/init.d/ipsec restart fi /etc/init.d/sshd restart -/etc/init.d/apache restart +/etc/init.d/apache start /etc/init.d/unbound restart # Upadate Kernel version uEnv.txt -- 2.39.2