mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Prevent "cap deploy" from hanging
This commit is contained in:
parent
fae3f120b9
commit
bc7fdd1748
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ Capistrano::Configuration.instance.load do
|
|||
desc "Start sidekiq"
|
||||
task :start do
|
||||
rails_env = fetch(:rails_env, "production")
|
||||
run "cd #{current_path} && nohup bundle exec sidekiq -e #{rails_env} -C #{current_path}/config/sidekiq.yml -P #{current_path}/tmp/pids/sidekiq.pid >> #{current_path}/log/sidekiq.log 2>&1 &"
|
||||
run "cd #{current_path} ; nohup bundle exec sidekiq -e #{rails_env} -C #{current_path}/config/sidekiq.yml -P #{current_path}/tmp/pids/sidekiq.pid >> #{current_path}/log/sidekiq.log 2>&1 &"
|
||||
end
|
||||
|
||||
desc "Restart sidekiq"
|
||||
|
|
Loading…
Reference in a new issue