2019-11-11 22:42:33 +05:30
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Read debian specific configuration
|
|
|
|
. /etc/gitlab-common/gitlab-common.conf
|
|
|
|
. /etc/gitlab/gitlab-debian.conf
|
2021-06-21 23:01:13 +05:30
|
|
|
export DB RAILS_ENV GEM_HOME
|
2019-11-11 22:42:33 +05:30
|
|
|
|
|
|
|
cd /usr/share/gitlab
|
|
|
|
|
|
|
|
runuser -u ${gitlab_user} -- sh -c "/usr/bin/bundle exec rails console -e production"
|