From f4fce5e65a9857d27b57e48ae6e75141eb5d12e6 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Fri, 8 Feb 2013 15:22:00 -0600 Subject: [PATCH] Fixes #687 sidekiq:start --- lib/sidekiq/capistrano.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/capistrano.rb b/lib/sidekiq/capistrano.rb index fca52951..c14298d9 100644 --- a/lib/sidekiq/capistrano.rb +++ b/lib/sidekiq/capistrano.rb @@ -36,7 +36,7 @@ Capistrano::Configuration.instance.load do task :start, :roles => lambda { fetch(:sidekiq_role) }, :on_no_matching_servers => :continue do rails_env = fetch(:rails_env, "production") for_each_process do |pid_file, idx| - run "cd #{current_path} ; #{fetch(:sidekiq_cmd)} -d -e #{rails_env} -C #{current_path}/config/sidekiq.yml -i #{idx} -P #{pid_file} -L #{current_path}/log/sidekiq.log" + run "cd #{current_path} ; #{fetch(:sidekiq_cmd)} -d -e #{rails_env} -C #{current_path}/config/sidekiq.yml -i #{idx} -P #{pid_file} -L #{current_path}/log/sidekiq.log", :pty => false end end