Fix to kill apache before start it

It's necessary because 'service apache2 stop' leaves some process alive
This commit is contained in:
angy91m authored and GitHub committed 2023-12-15 18:41:10 +01:00
1 parent fdbe308a26
commit 2b4db4ea20
1 file changed
+3
+3
View File
@@ -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