diff --git a/scripts/remove b/scripts/remove index cafe155..e2c549b 100644 --- a/scripts/remove +++ b/scripts/remove @@ -58,6 +58,17 @@ ynh_script_progression --message="Removing NGINX web server configuration..." -- # Remove the dedicated NGINX config ynh_remove_nginx_config +#================================================= +# REMOVE LOGS +#================================================= +ynh_script_progression --message="Removing logs..." --weight=5 + +ynh_remove_logrotate + +# Remove the log files +ynh_secure_remove --file="/var/log/$app" + + #================================================= # REMOVE FAIL2BAN CONFIGURATION #=================================================