Sha256: 1adf8c0f32a010b6d6e6518a2a760c0cdcb2aaf313fe716f3e49757d48ec205e

Contents?: true

Size: 564 Bytes

Versions: 252

Compression:

Stored size: 564 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

here = File.dirname(__FILE__)
$LOAD_PATH << File.expand_path(File.join(here, '..'))

require 'serverengine'
require 'fluent/supervisor'

server_module = Fluent.const_get(ARGV[0])
worker_module = Fluent.const_get(ARGV[1])
# it doesn't call ARGV in block because when reloading config, params will be initialized and then it can't use previous config.
config_path = ARGV[2]
params = JSON.parse(ARGV[3])
ServerEngine::Daemon.run_server(server_module, worker_module) { Fluent::Supervisor.load_config(config_path, params) }

Version data entries

252 entries across 252 versions & 3 rubygems

Version Path
fluentd-1.12.3 lib/fluent/daemon.rb
fluentd-1.12.2-x86-mingw32 lib/fluent/daemon.rb
fluentd-1.12.2-x64-mingw32 lib/fluent/daemon.rb
fluentd-1.12.2 lib/fluent/daemon.rb
fluentd-1.12.1-x64-mingw32 lib/fluent/daemon.rb
fluentd-1.12.1-x86-mingw32 lib/fluent/daemon.rb
fluentd-1.12.1 lib/fluent/daemon.rb
fluentd-1.12.0-x86-mingw32 lib/fluent/daemon.rb
fluentd-1.12.0-x64-mingw32 lib/fluent/daemon.rb
fluentd-1.12.0 lib/fluent/daemon.rb
fluentd-1.12.0.rc2 lib/fluent/daemon.rb
fluentd-1.12.0.rc1 lib/fluent/daemon.rb
fluentd-1.11.5-x86-mingw32 lib/fluent/daemon.rb
fluentd-1.11.5-x64-mingw32 lib/fluent/daemon.rb
fluentd-1.11.5 lib/fluent/daemon.rb
fluentd-1.11.4-x64-mingw32 lib/fluent/daemon.rb
fluentd-1.11.4-x86-mingw32 lib/fluent/daemon.rb
fluentd-1.11.4 lib/fluent/daemon.rb
fluentd-1.11.3-x86-mingw32 lib/fluent/daemon.rb
fluentd-1.11.3-x64-mingw32 lib/fluent/daemon.rb