diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab index 6aff7b5a8f9b3dcd5b8561dc78ebc2a98dfa1a44..f157d71b14f40368040b280e4c032c69d4aeb6e7 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