diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-09 16:49:01 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-09 16:49:01 +0200 |
commit | 85123076141beea0e79495b240d86c3bbdd92fd8 (patch) | |
tree | f78a1eea3a752f5a9ee1153b94200f19f6a5aefb /lib/support/init.d/gitlab | |
parent | 97f124b31d95ae0adba00b2b906d602f73ae5ffd (diff) | |
download | gitlab-ce-85123076141beea0e79495b240d86c3bbdd92fd8.tar.gz |
Use sidekiq restart rake task in init script
Diffstat (limited to 'lib/support/init.d/gitlab')
-rwxr-xr-x | lib/support/init.d/gitlab | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab index 6aff7b5a8f9..f157d71b14f 100755 --- a/lib/support/init.d/gitlab +++ b/lib/support/init.d/gitlab @@ -218,9 +218,7 @@ reload(){ kill -USR2 "$wpid" echo "Done." echo "Restarting GitLab Sidekiq since it isn't capable of reloading its config..." - RAILS_ENV=$RAILS_ENV bundle exec rake sidekiq:stop - echo "Starting Sidekiq..." - RAILS_ENV=$RAILS_ENV bundle exec rake sidekiq:start + RAILS_ENV=$RAILS_ENV bundle exec rake sidekiq:restart # Waiting 2 seconds for sidekiq to write it. sleep 2 status |