1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

fix db_user

This commit is contained in:
yalh76 2019-03-20 03:55:14 +01:00
parent 9d3b44450b
commit 7915cc889f

View file

@ -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