mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
systemctl à la place de service
This commit is contained in:
parent
17b2c64faf
commit
1826fee4b2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue