Since we replace Perl, users most likely get to see some nasty "Internal
Server Error" messages during the upgrade. To suppres them, and to limit
the chance of side effects, stop Apache before applying the update, and
start it again afterwards.
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
done
# Stop services
+/etc/rc.d/init.d/apache stop
/etc/rc.d/init.d/squid stop
/etc/rc.d/init.d/openvpn stop
/etc/rc.d/init.d/ipsec stop
/usr/local/bin/filesystem-cleanup
# Start services
+/etc/rc.d/init.d/apache start
if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
/etc/init.d/openvpn start
fi
-
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/init.d/ipsec start
fi
-
if -f /var/ipfire/proxy/enable; then
/etc/init.d/squid start
fi