summarylogtreecommitdiffstats
path: root/snmp_exporter.service
diff options
context:
space:
mode:
authorKonstantin Shalygin2018-12-10 16:22:59 +0700
committerKonstantin Shalygin2018-12-10 16:35:17 +0700
commit78a678d6fffefce40720c83f82d6ba07f78d80f2 (patch)
treee2698d4ac4b11a477d466d989f5610e5bd8fdf09 /snmp_exporter.service
downloadaur-78a678d6fffefce40720c83f82d6ba07f78d80f2.tar.gz
Bump to 0.14.0
Diffstat (limited to 'snmp_exporter.service')
-rw-r--r--snmp_exporter.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/snmp_exporter.service b/snmp_exporter.service
new file mode 100644
index 000000000000..3bbd2ba813c6
--- /dev/null
+++ b/snmp_exporter.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Prometheus SNMP exporter
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/snmp_exporter --config.file /etc/prometheus/snmp.yml
+User=prometheus
+Group=prometheus
+
+[Install]
+WantedBy=multi-user.target