Browse Source

systemctl à la place de service

magikcypress 8 years ago
parent
commit
0060536f22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/.fonctions

+ 1 - 1
scripts/.fonctions

@@ -112,7 +112,7 @@ POOL_FPM () {	# Créer le fichier de configuration du pool php-fpm et le configu
 	finalphpini=/etc/php5/fpm/conf.d/20-$app.ini
 	sudo cp ../conf/php-fpm.ini $finalphpini
 	sudo chown root: $finalphpini
-	sudo service php5-fpm reload
+	sudo systemctl reload php5-fpm
 }
 
 EXIT_PROPERLY () {	# Causes the script to stop in the event of an error. And clean the residue.