Skip to content

Commit

Permalink
Merge pull request #2950 from fluent/fix-regression-for-worker-launch
Browse files Browse the repository at this point in the history
command: Avoid daemonize for supervisor's worker
  • Loading branch information
repeatedly authored Apr 14, 2020
2 parents 235f272 + 384ab14 commit cdf75b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/command/fluentd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
worker = Fluent::Supervisor.new(opts)
worker.configure

if opts[:daemonize]
if opts[:daemonize] && opts[:standalone_worker]
require 'fluent/daemonizer'
args = ARGV.dup
i = args.index('--daemon')
Expand Down

0 comments on commit cdf75b0

Please sign in to comment.