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