summarylogtreecommitdiffstats
path: root/telegraf.service
blob: 4f874c021462b656c4c5b8cb5a757955be36074d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Plugin-driven server agent for reporting metrics into InfluxDB
After=network.target

[Service]
User=telegraf
Group=telegraf
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
ExecReload=/bin/kill -HUP $MAINPID
KillMode=control-group
Restart=on-failure

[Install]
WantedBy=multi-user.target