aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-20 03:55:14 +0100
committeryalh76 <yalh@yahoo.com>2019-03-20 03:55:14 +0100
commit7915cc889f7fcb991693ccfdb558b27404bfa16a (patch)
treeeebcaa5d0040b0bcc34c8d0ddca270998eebbd23 /scripts/remove
parent9d3b44450b36a14aa37ea9046f4a77574c3fdb15 (diff)
downloadmastodon_ynh-7915cc889f7fcb991693ccfdb558b27404bfa16a.tar.gz
mastodon_ynh-7915cc889f7fcb991693ccfdb558b27404bfa16a.tar.bz2
mastodon_ynh-7915cc889f7fcb991693ccfdb558b27404bfa16a.zip
fix db_user
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remove b/scripts/remove
index af11b31..f0715d4 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -64,7 +64,7 @@ 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';"
# delete postgresql database & user
-ynh_psql_remove_db $db_name $db_name
+ynh_psql_remove_db "$db_name" "$app"
#=================================================
# REMOVE DEPENDENCIES