File telegraf.service of Package telegraf
[Unit] Description=Telegraf is an agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data Documentation=https://docs.influxdata.com/telegraf/v1/ Requires=network.target [Service] Type=simple ExecStart=/usr/bin/telegraf ExecReload=/bin/kill -HUP $MAINPID WorkingDirectory=/var/lib/telegraf [Install] WantedBy=multi-user.target