From 4e4e4331e19d306145f2961258de73576cd74250 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 25 Feb 2019 23:35:33 +0100 Subject: [PATCH] Fix pgsql removal --- scripts/remove | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 98dd899..6876b84 100644 --- a/scripts/remove +++ b/scripts/remove @@ -34,7 +34,6 @@ ynh_print_info "Removing the PostgreSQL database" ynh_psql_execute_as_root "\connect $db_name SELECT pg_terminate_backend (pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = '$db_name';" ynh_psql_remove_db $db_name $db_name -ynh_psql_drop_user $db_name #================================================= # REMOVE DEPENDENCIES @@ -79,7 +78,7 @@ fi #================================================= # Remove a cron file -ynh_secure_remove "/etc/cron.d/$app" +#ynh_secure_remove "/etc/cron.d/$app" # Remove a directory securely ynh_secure_remove "/etc/apt/sources.list.d/onlyoffice.list"