1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Ignore result of kill -9, GH-76

This commit is contained in:
Mike Perham 2012-03-09 19:01:19 -08:00
parent 47ca099093
commit c8651c59e0

View file

@ -13,7 +13,7 @@ Capistrano::Configuration.instance.load do
desc "Stop sidekiq"
task :stop do
run "cd #{current_path} && kill `cat #{current_path}/tmp/pids/sidekiq.pid` && sleep #{fetch :sidekiq_timeout} && kill -9 `cat #{current_path}/tmp/pids/sidekiq.pid` && rm #{current_path}/tmp/pids/sidekiq.pid"
run "cd #{current_path} && kill `cat #{current_path}/tmp/pids/sidekiq.pid` && sleep #{fetch :sidekiq_timeout} && kill -9 `cat #{current_path}/tmp/pids/sidekiq.pid` ; rm #{current_path}/tmp/pids/sidekiq.pid"
end
desc "Start sidekiq"