]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core128: stop apache before replacing files
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Feb 2019 18:26:08 +0000 (19:26 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Feb 2019 18:26:08 +0000 (19:26 +0100)
apache will not restart without stopped before
the files was replaced.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/128/update.sh

index bc15679c5cc55cf79dc6d71712c7b097da6d2348..9c9486e41dcc14039c1ba4d6264aede3394abf12 100644 (file)
@@ -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