core128: stop apache before replacing files

apache will not restart without stopped before
the files was replaced.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2019-02-22 19:26:08 +01:00
parent 6957b699b3
commit 186402fbe8

View 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