add database configuration
This commit is contained in:
parent
68edff9823
commit
84c78b6d70
1 changed files with 9 additions and 1 deletions
8
debian/postinst
vendored
8
debian/postinst
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue