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:
parent
f277501726
commit
b9d0a5e8f0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue