add database configuration
This commit is contained in:
parent
68edff9823
commit
84c78b6d70
1 changed files with 9 additions and 1 deletions
10
debian/postinst
vendored
10
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
|
||||
|
@ -41,7 +49,7 @@ case "$1" in
|
|||
echo "Verifying we have all required libraries..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle install --local'
|
||||
|
||||
echo "Running final rake tasks..."
|
||||
echo "Running final rake tasks..."
|
||||
# Move these to rails-common
|
||||
#. /usr/lib/diaspora-common/scripts/rake-tasks.sh
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue