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