From 29e59d8c3ecbea5b1f4ebc2bd76384d40e903262 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 1 Jul 2021 10:10:17 +0000 Subject: [PATCH] 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 --- config/rootfiles/core/158/update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/158/update.sh b/config/rootfiles/core/158/update.sh index 2c6ef86559..a34c01bcc0 100644 --- a/config/rootfiles/core/158/update.sh +++ b/config/rootfiles/core/158/update.sh @@ -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 -- 2.39.5