mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user