summarylogtreecommitdiffstats
path: root/telegraf.service
blob: e875afddf410e355bb6faff7c5186896268dfe46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# If you modify this, please also make sure to edit init.sh

[Unit]
Description=Server-level metric gathering agent for InfluxDB
After=network.target

[Service]
User=telegraf
Group=telegraf
ExecStart=/usr/bin/telegraf -config /etc/telegraf.conf
Restart=on-failure

[Install]
WantedBy=multi-user.target