From: Arne Fitzenreiter Date: Fri, 22 Feb 2019 18:26:08 +0000 (+0100) Subject: core128: stop apache before replacing files X-Git-Tag: v2.21-core128~10 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=186402fbe83fcff9b15bfab81a6d35cebe431126;hp=6957b699b374b8053c8de66a0e61a489c982bb34 core128: stop apache before replacing files apache will not restart without stopped before the files was replaced. Signed-off-by: Arne Fitzenreiter --- 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