mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-15 18:57:10 +02:00
td-agent3's /etc/init.d/td-agent has reload command. Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
22 lines
408 B
Ruby
22 lines
408 B
Ruby
class Fluentd
|
|
class Agent
|
|
class TdAgent
|
|
module Unix
|
|
def start
|
|
backup_running_config do
|
|
detached_command('/etc/init.d/td-agent start')
|
|
end
|
|
end
|
|
|
|
def stop
|
|
detached_command('/etc/init.d/td-agent stop')
|
|
end
|
|
|
|
def restart
|
|
detached_command('/etc/init.d/td-agent restart')
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|