From ec58d79656259fce50ac8eb9294acf3b0505b7f5 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Fri, 12 May 2017 09:44:35 +0530 Subject: [PATCH] set dbc_dbuser in postinst too --- debian/postinst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 8a6cb3c7cf..ef8b39044e 100755 --- a/debian/postinst +++ b/debian/postinst @@ -315,7 +315,12 @@ case "$1" in echo "Reloading nginx configuration..." invoke-rc.d nginx reload fi - dbc_go $gitlab_user "$@" + + dbc_dbtypes="pgsql" + dbc_dbname="gitlab_production" + dbc_dbuser="$gitlab_user" + + dbc_go gitlab "$@" db_stop # enable the pg_trgm extension