2016-10-01 16:02:34 +05:30
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2017-03-17 22:27:14 +05:30
|
|
|
# Read debian specific configuration
|
|
|
|
. /etc/gitlab/gitlab-debian.conf
|
|
|
|
export DB RAILS_ENV
|
|
|
|
|
2016-10-01 16:02:34 +05:30
|
|
|
cd /usr/share/gitlab
|
|
|
|
|
|
|
|
# Check gitlab is configured correctly
|
|
|
|
printf "Check if Gitlab is configured correctly...\n"
|
2017-04-21 15:03:54 +05:30
|
|
|
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake gitlab:check'
|