mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
init: execute gitlab:satellites:create rake task before starting gitlab
This commit is contained in:
parent
3bcfb5823f
commit
686162011c
@ -668,11 +668,14 @@ appStart () {
|
||||
rm -rf tmp/pids/unicorn.pid
|
||||
rm -rf tmp/pids/sidekiq.pid
|
||||
|
||||
# create satellite directories
|
||||
echo "Creating satellites..."
|
||||
sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production >/dev/null
|
||||
|
||||
# start the gitlab application
|
||||
sudo -u git -H /etc/init.d/gitlab start
|
||||
|
||||
# create satellite directories
|
||||
sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production
|
||||
# perform status check
|
||||
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
|
||||
|
||||
# setup cron job for automatic backups
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user