mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #629 from dtaniwaki/prevent_inconsistence
Stop sidekiq before rails update code
This commit is contained in:
commit
56b3c8202a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ Capistrano::Configuration.instance.load do
|
|||
before "deploy:update_code", "sidekiq:quiet"
|
||||
after "deploy:stop", "sidekiq:stop"
|
||||
after "deploy:start", "sidekiq:start"
|
||||
after "deploy:restart", "sidekiq:restart"
|
||||
before "deploy:restart", "sidekiq:restart"
|
||||
|
||||
_cset(:sidekiq_cmd) { "#{fetch(:bundle_cmd, "bundle")} exec sidekiq" }
|
||||
_cset(:sidekiqctl_cmd) { "#{fetch(:bundle_cmd, "bundle")} exec sidekiqctl" }
|
||||
|
|
Loading…
Reference in a new issue