From 54ee95fcefafb05deac2501fedcceb4235b75def Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Tue, 24 Apr 2018 10:10:02 +0900 Subject: [PATCH] Update comment for td-agent3 Signed-off-by: Kenji Okimoto --- app/models/fluentd/agent.rb | 14 +++++++++----- app/models/fluentd/agent/common.rb | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/app/models/fluentd/agent.rb b/app/models/fluentd/agent.rb index fe58d3c..a37fffa 100644 --- a/app/models/fluentd/agent.rb +++ b/app/models/fluentd/agent.rb @@ -10,19 +10,23 @@ class Fluentd class Agent # pidfile # td-agent: /var/run/td-agent/td-agent.pid - # - https://github.com/treasure-data/td-agent/blob/master/td-agent.logrotate#L10 - # - https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.init#L25 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/systemd/td-agent.service.erb#L18 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/deb/td-agent#L24 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/rpm/td-agent#L24 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/td-agent/logrotate.d/td-agent.logrotate#L10 # fluentd: nothing (or --daemon PIDFILE) # # logfile # td-agent: /var/log/td-agent/td-agent.log - # - https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.init#L28 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/systemd/td-agent.service.erb#L21 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/deb/td-agent#L23 + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/rpm/td-agent#L23 # fluentd: stdout (or --log LOGFILE) # # config file # td-agent: /etc/td-agent/td-agent.conf - # - https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.postinst#L69 - # fluentd: /etc/fluent/fluent.conf (by fluentd -s) + # - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/systemd/td-agent.service.erb#L14 + # fluentd: /etc/fluent/fluent.conf (created by fluentd -s) class ConfigError < StandardError; end end end diff --git a/app/models/fluentd/agent/common.rb b/app/models/fluentd/agent/common.rb index ca2098e..fcb1d32 100644 --- a/app/models/fluentd/agent/common.rb +++ b/app/models/fluentd/agent/common.rb @@ -1,18 +1,22 @@ # pidfile # td-agent: /var/run/td-agent/td-agent.pid -# - https://github.com/treasure-data/td-agent/blob/master/td-agent.logrotate#L10 -# - https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.init#L25 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/systemd/td-agent.service.erb#L18 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/deb/td-agent#L24 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/rpm/td-agent#L24 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/td-agent/logrotate.d/td-agent.logrotate#L10 # fluentd: nothing (or --daemon PIDFILE) # # logfile # td-agent: /var/log/td-agent/td-agent.log -# - https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.init#L28 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/systemd/td-agent.service.erb#L21 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/deb/td-agent#L23 +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/init.d/rpm/td-agent#L23 # fluentd: stdout (or --log LOGFILE) # # config file # td-agent: /etc/td-agent/td-agent.conf -# - https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.postinst#L69 -# fluentd: /etc/fluent/fluent.conf (by fluentd -s) +# - https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/etc/systemd/td-agent.service.erb#L14 +# fluentd: /etc/fluent/fluent.conf (created by fluentd -s) class Fluentd class Agent