diff --git a/scripts/remove b/scripts/remove index 038dd17..68acc66 100755 --- a/scripts/remove +++ b/scripts/remove @@ -29,6 +29,10 @@ done # Remove the dedicated NGINX config ynh_remove_nginx_config +# Remove the app-specific logrotate config +ynh_remove_logrotate + + # Remove a database if it exists, along with the associated user for db_name in "${MONGO_DB_LIST[@]}"; do ynh_mongo_remove_db --db_user=$db_user --db_name="dontCode$tenant$db_name" @@ -39,9 +43,6 @@ ynh_remove_mongo _remove_restart_script_and_sudoers -# Remove the log files -ynh_secure_remove --file="/var/log/$app" - #================================================= # END OF SCRIPT #=================================================