From 5913d158e31a6723d8eab778345bb8dfd3c27b71 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 17 Mar 2021 22:09:46 +0100 Subject: [PATCH] Update remove --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index dc438a9..e09307a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -19,7 +19,7 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) port=$(ynh_app_setting_get --app=$app --key=port) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -service_config=$(ynh_app_setting_get --app=$app --key=service_config) +#service_config=$(ynh_app_setting_get --app=$app --key=service_config) #================================================= # STANDARD REMOVE @@ -80,7 +80,7 @@ ynh_remove_logrotate # REMOVE FILES #================================================= -ynh_secure_remove --file="$service_config" +ynh_secure_remove --file="/etc/default/$app" #================================================= # GENERIC FINALIZATION