From 6780bd4a758f69a1339d4aceb41e8515a4d04f68 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Fri, 22 Sep 2017 21:19:18 +0200 Subject: [PATCH] Remove "set -u" and avoidable services restarts from remove --- scripts/remove | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index c9d0b71..0a3954f 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,7 +1,5 @@ #!/bin/bash -# Treat unset variables as an error -set -u #================================================= # GENERIC STARTING #================================================= @@ -36,7 +34,6 @@ ynh_mysql_remove_db "$app" "$db_name" #================================================= ynh_secure_remove "/var/www/$app" -ynh_secure_remove "/home/yunohost.app/$app" #================================================= # REMOVE FAIL2BAN CONFIGURATION @@ -51,10 +48,6 @@ ynh_remove_fail2ban_config ynh_remove_fpm_config ynh_remove_nginx_config -# Reload services -systemctl restart php5-fpm -systemctl reload nginx - #================================================= # REMOVE DEDICATED USER #=================================================