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 #=================================================