From 8dacf0e9400f68d017cf3255c368c9bac2c2e22d Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 30 Nov 2018 13:16:31 +0100 Subject: [PATCH] remove old folders --- scripts/remove | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/remove b/scripts/remove index 9d60205..e5b64bd 100644 --- a/scripts/remove +++ b/scripts/remove @@ -57,9 +57,9 @@ ynh_remove_fpm_config timeout 5 systemctl stop zabbix-server systemctl disable zabbix-server killall zabbix_server -#rm -fr /etc/zabbix -#rm -fr /var/www/zabbix ynh_package_autopurge --allow-change-held-packages zabbix-server-mysql zabbix-frontend-php ynhzabbix-ynh-deps zabbix-release ynhzabbix-ynh-deps +ynh_secure_remove /var/www/zabbix +ynh_secure_remove /var/log/ynhzabbix #================================================= # REMOVE THE MYSQL DATABASE @@ -68,13 +68,6 @@ ynh_package_autopurge --allow-change-held-packages zabbix-server-mysql zabbix-fr # Remove a database if it exists, along with the associated user ynh_mysql_remove_db $db_user $db_name -#================================================= -# REMOVE APP MAIN DIR -#================================================= - -# Remove the app directory securely -#ynh_secure_remove "$final_path" - #================================================= # REMOVE NGINX CONFIGURATION #=================================================