set dbc_dbuser in postinst too

This commit is contained in:
Praveen Arimbrathodiyil 2017-05-12 09:44:35 +05:30
parent 9d7b2f0778
commit ec58d79656

7
debian/postinst vendored
View file

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