From 2b4db4ea20dd0e50c7585f814802850ff30eb4c2 Mon Sep 17 00:00:00 2001 From: angy91m <100099034+angy91m@users.noreply.github.com> Date: Fri, 15 Dec 2023 18:41:10 +0100 Subject: [PATCH] Fix to kill apache before start it It's necessary because 'service apache2 stop' leaves some process alive --- glpi-start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glpi-start.sh b/glpi-start.sh index 562c79f..d7ecece 100644 --- a/glpi-start.sh +++ b/glpi-start.sh @@ -62,5 +62,8 @@ service cron start #Activation du module rewrite d'apache a2enmod rewrite && service apache2 restart && service apache2 stop +#Fix to really stop apache +pkill -9 apache + #Lancement du service apache au premier plan /usr/sbin/apache2ctl -D FOREGROUND