Skip to content

Commit

Permalink
command: Avoid daemonize for supervisor's worker
Browse files Browse the repository at this point in the history
Signed-off-by: Masahiro Nakagawa <[email protected]>
  • Loading branch information
repeatedly committed Apr 13, 2020
1 parent 68cfd1e commit 384ab14
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 384ab14

Please sign in to comment.