From: Michael Tremer Date: Thu, 1 Jul 2021 10:10:17 +0000 (+0000) Subject: core158: Fully terminate apache before restarting it X-Git-Tag: v2.25-core158~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29e59d8c3ecbea5b1f4ebc2bd76384d40e903262;p=ipfire-2.x.git 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 --- 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