From 32823caf8d926549669e608fbdfa4074350930ab Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 8 Nov 2021 23:53:40 +0100 Subject: [PATCH] Delete log directory while removing app --- scripts/remove | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/remove b/scripts/remove index 9641422..54b350d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -75,6 +75,16 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight= # Remove the app-specific logrotate config ynh_remove_logrotate +#================================================= +# SPECIFIC REMOVE +#================================================= +# REMOVE VARIOUS FILES +#================================================= +ynh_script_progression --message="Removing various files..." --weight=1 + +# Remove the log files +ynh_secure_remove --file="/var/log/$app" + #================================================= # GENERIC FINALIZATION #=================================================