diff --git a/break_yo_system_ynh/scripts/remove b/break_yo_system_ynh/scripts/remove index 0e61b7e..740e37b 100644 --- a/break_yo_system_ynh/scripts/remove +++ b/break_yo_system_ynh/scripts/remove @@ -8,7 +8,7 @@ domain=$(sudo yunohost app setting $app domain) breakwhat=$(sudo yunohost app setting $app breakwhat) rm /etc/nginx/conf.d/$domain.d/$app.conf -service nginx reload +service nginx restart if [[ $breakwhat == "remove" ]] || [[ $breakwhat == "everything" ]] then diff --git a/legacy_app_ynh/scripts/remove b/legacy_app_ynh/scripts/remove index 1942256..c89bc79 100644 --- a/legacy_app_ynh/scripts/remove +++ b/legacy_app_ynh/scripts/remove @@ -15,5 +15,5 @@ sudo rm -rf /var/www/$app sudo rm /etc/nginx/conf.d/$domain.d/$app.conf sudo rm -f /etc/importantfile -sudo service nginx reload +sudo service nginx restart sudo yunohost app ssowatconf