use simpler export command
This commit is contained in:
parent
78cc74f3c5
commit
651f4d51d5
2 changed files with 2 additions and 2 deletions
2
debian/conf/gitlab
vendored
2
debian/conf/gitlab
vendored
|
@ -9,7 +9,7 @@ RAILS_ENV="production"
|
|||
|
||||
# Read and export debian specific configuration
|
||||
# Only exported variables will be passed on to gitlab app
|
||||
for i in $(cat /etc/gitlab/gitlab-debian.conf); do export $i; done
|
||||
export $(cat /etc/gitlab/gitlab-debian.conf|xargs)
|
||||
|
||||
# app_user defines the user that GitLab is run as.
|
||||
# The default is "git".
|
||||
|
|
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
# Read and export debian specific configuration
|
||||
# Only exported variables will be passed on to gitlab app
|
||||
for i in $(cat /etc/gitlab/gitlab-debian.conf); do export $i; done
|
||||
export $(cat /etc/gitlab/gitlab-debian.conf|xargs)
|
||||
|
||||
echo "Initializing database..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production'
|
||||
|
|
Loading…
Reference in a new issue