From 8991e3dc43ed3d5f02fc29c35d90552d2b2f160b Mon Sep 17 00:00:00 2001 From: Tobias Ollive Date: Tue, 4 Jan 2022 20:41:40 +0100 Subject: [PATCH] remove log dir --- scripts/remove | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/remove b/scripts/remove index 2e3d9d2..62b39e1 100644 --- a/scripts/remove +++ b/scripts/remove @@ -53,6 +53,13 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight= # Remove the app-specific logrotate config ynh_remove_logrotate +#================================================= +# REMOVE LOG DIR +#================================================= +ynh_script_progression --message="Removing log dir..." --weight=1 + +ynh_secure_remove --file="/var/log/$app" + #================================================= # REMOVE DEPENDENCIES #=================================================