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

adding >/dev/null 2>&1 &

This commit is contained in:
Diego 2014-02-11 20:11:27 -02:00
parent f277501726
commit b9d0a5e8f0

View file

@ -99,9 +99,9 @@ namespace :sidekiq do
end end
else else
if fetch(:sidekiq_cmd) if fetch(:sidekiq_cmd)
execute fetch(:sidekiq_cmd), "-i #{idx} -P #{pid_full_path(pid_file)} #{fetch(:sidekiq_options)}" execute fetch(:sidekiq_cmd), "-i #{idx} -P #{pid_full_path(pid_file)} #{fetch(:sidekiq_options)} >/dev/null 2>&1 &"
else else
execute :bundle, :exec, :sidekiq, "-i #{idx} -P #{pid_full_path(pid_file)} #{fetch(:sidekiq_options)}" execute :bundle, :exec, :sidekiq, "-i #{idx} -P #{pid_full_path(pid_file)} #{fetch(:sidekiq_options)} >/dev/null 2>&1 &"
end end
end end
end end