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:
parent
47ca099093
commit
c8651c59e0
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue