Skip to content
Snippets Groups Projects
Commit 85123076 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Use sidekiq restart rake task in init script

parent 97f124b3
No related branches found
No related tags found
1 merge request!1Fix Links To Gitlab Cloud
Loading
@@ -218,9 +218,7 @@ reload(){
Loading
@@ -218,9 +218,7 @@ reload(){
kill -USR2 "$wpid" kill -USR2 "$wpid"
echo "Done." echo "Done."
echo "Restarting GitLab Sidekiq since it isn't capable of reloading its config..." echo "Restarting GitLab Sidekiq since it isn't capable of reloading its config..."
RAILS_ENV=$RAILS_ENV bundle exec rake sidekiq:stop RAILS_ENV=$RAILS_ENV bundle exec rake sidekiq:restart
echo "Starting Sidekiq..."
RAILS_ENV=$RAILS_ENV bundle exec rake sidekiq:start
# Waiting 2 seconds for sidekiq to write it. # Waiting 2 seconds for sidekiq to write it.
sleep 2 sleep 2
status status
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment