14 lines
372 B
Bash
14 lines
372 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Read and export debian specific configuration
|
||
|
# Only exported variables will be passed on to gitlab app
|
||
|
export $(cat /etc/gitlab/gitlab-debian.conf)
|
||
|
cd /usr/share/gitlab
|
||
|
|
||
|
# Check gitlab is configured correctly
|
||
|
printf "Check if Gitlab is configured correctly...\n"
|
||
|
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:check RAILS_ENV=production'
|
||
|
|