Merge pull request #166 from fluent/165_prevent_zombies_from_icreasing

Prevent zombie processes from increasing
This commit is contained in:
uu59 2015-04-01 15:21:23 +09:00
commit d024035262

View File

@ -67,7 +67,8 @@ class Fluentd
def actual_start
return unless validate_fluentd_options
Bundler.with_clean_env do
spawn("fluentd #{options_to_argv}")
pid = spawn("fluentd #{options_to_argv}")
Process.detach(pid)
end
wait_starting