Core Update 173: Ship and restart Apache

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2023-01-23 15:22:38 +00:00
parent ca92e035a7
commit 6c2d379a10
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1 @@
../../../common/apache2

View File

@@ -44,6 +44,7 @@ for (( i=1; i<=$core; i++ )); do
done
# Stop services
/etc/rc.d/init.d/apache stop
/etc/rc.d/init.d/ipsec stop
/usr/local/bin/openvpnctrl -k
/usr/local/bin/openvpnctrl -kn2n
@@ -121,12 +122,13 @@ done
/usr/local/bin/filesystem-cleanup
# Start services
/etc/rc.d/init.d/apache start
if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
/usr/local/bin/openvpnctrl -s
/usr/local/bin/openvpnctrl -sn2n
fi
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/init.d/ipsec start
/etc/rc.d/init.d/ipsec start
fi
# Regenerate all initrds