telegraf.service 365 B

1234567891011121314
  1. [Unit]
  2. Description=Plugin-driven server agent for reporting metrics into InfluxDB
  3. After=network.target
  4. [Service]
  5. User=telegraf
  6. Group=telegraf
  7. ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
  8. ExecReload=/bin/kill -HUP $MAINPID
  9. KillMode=control-group
  10. Restart=on-failure
  11. [Install]
  12. WantedBy=multi-user.target