fluentd-ui/app/models/fluentd/agent/td_agent/unix.rb
Kenji Okimoto ebbf16af2a Remove outdated comment
td-agent3's /etc/init.d/td-agent has reload command.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00

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