mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fixes #687 sidekiq:start
This commit is contained in:
parent
3a3cb7c743
commit
f4fce5e65a
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ Capistrano::Configuration.instance.load do
|
||||||
task :start, :roles => lambda { fetch(:sidekiq_role) }, :on_no_matching_servers => :continue do
|
task :start, :roles => lambda { fetch(:sidekiq_role) }, :on_no_matching_servers => :continue do
|
||||||
rails_env = fetch(:rails_env, "production")
|
rails_env = fetch(:rails_env, "production")
|
||||||
for_each_process do |pid_file, idx|
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue