mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add missing "bundle exec" prefixes
This commit is contained in:
parent
ee42be39e0
commit
fae3f120b9
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ Capistrano::Configuration.instance.load do
|
|||
|
||||
desc "Quiet sidekiq (stop accepting new work)"
|
||||
task :quiet do
|
||||
run "cd #{current_path} && sidekiqctl quiet #{current_path}/tmp/pids/sidekiq.pid"
|
||||
run "cd #{current_path} && bundle exec sidekiqctl quiet #{current_path}/tmp/pids/sidekiq.pid"
|
||||
end
|
||||
|
||||
desc "Stop sidekiq"
|
||||
task :stop do
|
||||
run "cd #{current_path} && sidekiqctl stop #{current_path}/tmp/pids/sidekiq.pid #{fetch :sidekiq_timeout}"
|
||||
run "cd #{current_path} && bundle exec sidekiqctl stop #{current_path}/tmp/pids/sidekiq.pid #{fetch :sidekiq_timeout}"
|
||||
end
|
||||
|
||||
desc "Start sidekiq"
|
||||
|
|
Loading…
Reference in a new issue