From 1826fee4b27a54185813d8b0682f8f9072377815 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Wed, 29 Mar 2017 00:08:07 +0200 Subject: [PATCH] =?UTF-8?q?systemctl=20=C3=A0=20la=20place=20de=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/.fonctions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/.fonctions b/scripts/.fonctions index 582091f..d9bc244 100644 --- a/scripts/.fonctions +++ b/scripts/.fonctions @@ -141,7 +141,7 @@ REMOVE_NGINX_CONF () { # Delete nginx configuration if [ -e "/etc/nginx/conf.d/$domain.d/$app.conf" ]; then # Delete nginx config echo "Delete nginx config" sudo rm "/etc/nginx/conf.d/$domain.d/$app.conf" - sudo service nginx reload + sudo systemctl reload nginx fi } @@ -154,7 +154,7 @@ REMOVE_FPM_CONF () { # Delete pool php-fpm configuration echo "Delete php config" sudo rm "/etc/php5/fpm/conf.d/20-$app.ini" fi - sudo service php5-fpm reload + sudo systemctl reload php5-fpm } REMOVE_LOGROTATE_CONF () { # Delete logrotate configuration