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

Fix sidekiq:start, #131

This commit is contained in:
Mike Perham 2012-04-15 14:59:32 -07:00
parent d3635dc50c
commit 93adb17437
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,12 @@
HEAD
-----------
- Fix hang with sidekiq:start [#131]
1.1.0
-----------
- The Sidekiq license has switched from GPLv3 to LGPLv3!
- Sidekiq::Client.push now returns whether the actual Redis
operation succeeded or not. [#123]

View file

@ -20,7 +20,7 @@ Capistrano::Configuration.instance.load do
desc "Start sidekiq"
task :start, :roles => lambda { fetch(:sidekiq_role) } 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 &", :pty => false
end
desc "Restart sidekiq"