core158: Fully terminate apache before restarting it

Asking apache to restart itself fails when the binary is changed and
some symbols cannot be resolved. We therefore terminate all processes
and start them again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-07-01 10:10:17 +00:00
parent 17f0494bf2
commit 29e59d8c3e

View File

@@ -74,10 +74,13 @@ ldconfig
/usr/local/bin/filesystem-cleanup
# Start services
/etc/init.d/apache restart
/etc/init.d/vnstat restart
/etc/init.d/rngd restart
# Restart apache
/etc/init.d/apache stop
/etc/init.d/apache start
# This update needs a reboot...
#touch /var/run/need_reboot