add database configuration

This commit is contained in:
Praveen Arimbrathodiyil 2015-10-09 20:13:23 +05:30
parent 68edff9823
commit 84c78b6d70

8
debian/postinst vendored
View file

@ -28,6 +28,14 @@ set -e
case "$1" in
configure)
# Show debconf questions
. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.pgsql
dbc_dbname="gitlab_production"
dbc_dbuser="gitlab"
dbc_go gitlab $@
. /etc/gitlab/gitlab-debian.conf
. /usr/lib/gitlab/scripts/adduser.sh