summarylogtreecommitdiffstats
path: root/telegraf.service
diff options
context:
space:
mode:
authorNicolas Leclercq2015-09-02 20:06:52 +0200
committerNicolas Leclercq2015-09-02 20:06:52 +0200
commit85cc60b860fe549b4bdf53e2aff7052b1e73215b (patch)
treeb5e035ad2d53b323ecc9821741d4ef1d0372827c /telegraf.service
downloadaur-85cc60b860fe549b4bdf53e2aff7052b1e73215b.tar.gz
Release 0.1.7
Diffstat (limited to 'telegraf.service')
-rw-r--r--telegraf.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/telegraf.service b/telegraf.service
new file mode 100644
index 00000000000..e875afddf41
--- /dev/null
+++ b/telegraf.service
@@ -0,0 +1,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