2015-07-14 18:42:33 +00:00
|
|
|
[Unit]
|
|
|
|
Description=The plugin-driven server agent for reporting metrics into InfluxDB
|
|
|
|
Documentation=https://github.com/influxdb/telegraf
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/default/telegraf
|
|
|
|
User=telegraf
|
2015-10-19 07:09:36 +00:00
|
|
|
ExecStart=/opt/telegraf/telegraf -config /etc/opt/telegraf/telegraf.conf -configdirectory /etc/opt/telegraf/telegraf.d $TELEGRAF_OPTS
|
2015-07-14 18:42:33 +00:00
|
|
|
Restart=on-failure
|
2015-09-08 21:08:40 +00:00
|
|
|
KillMode=process
|
2015-07-14 18:42:33 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2015-09-08 21:08:40 +00:00
|
|
|
Alias=telegraf.service
|