1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dont-code_ynh.git synced 2024-09-03 18:26:34 +02:00

Don't remove logs on uninstall

This commit is contained in:
Gérard Collin 2024-06-21 11:34:07 +02:00
parent a5ab6cb5db
commit 64d3dd772c

View file

@ -29,10 +29,6 @@ done
# Remove the dedicated NGINX config # Remove the dedicated NGINX config
ynh_remove_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 # Remove a database if it exists, along with the associated user
for db_name in "${MONGO_DB_LIST[@]}"; do for db_name in "${MONGO_DB_LIST[@]}"; do
ynh_mongo_remove_db --db_user=$db_user --db_name="dontCode$tenant$db_name" ynh_mongo_remove_db --db_user=$db_user --db_name="dontCode$tenant$db_name"