Method: Fluent::Plugin::ExecInput#start
- Defined in:
- lib/fluent/plugin/in_exec.rb
#start ⇒ Object
73 74 75 76 77 78 79 80 81 |
# File 'lib/fluent/plugin/in_exec.rb', line 73 def start super if @run_interval child_process_execute(:exec_input, @command, interval: @run_interval, mode: [@connect_mode], &method(:run)) else child_process_execute(:exec_input, @command, immediate: true, mode: [@connect_mode], &method(:run)) end end |