14 lines
323 B
Bash
Executable file
14 lines
323 B
Bash
Executable file
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
# Read debian specific configuration
|
|
. /etc/gitlab-common/gitlab-common.conf
|
|
. /etc/gitlab/gitlab-debian.conf
|
|
export DB RAILS_ENV
|
|
|
|
cd /usr/share/gitlab
|
|
|
|
# Check gitlab is configured correctly
|
|
printf "Check if Gitlab is configured correctly...\n"
|
|
runuser -u ${gitlab_user} -- sh -c "bundle exec rake $@"
|