start gitlab before gitlab check
This commit is contained in:
parent
df06b5accc
commit
31e23343a4
1 changed files with 6 additions and 2 deletions
8
debian/rake-tasks.sh
vendored
8
debian/rake-tasks.sh
vendored
|
@ -9,6 +9,10 @@ REDIS_URL=redis://localhost:6379 \
|
||||||
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
|
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
|
||||||
echo "Precompiling assets..."
|
echo "Precompiling assets..."
|
||||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
|
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
|
||||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:check RAILS_ENV=production'
|
|
||||||
su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'
|
# Start gitlab
|
||||||
|
invoke-rc.d gitlab start
|
||||||
|
|
||||||
|
# Check gitlab is configured correctly
|
||||||
|
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:check RAILS_ENV=production'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue