summaryrefslogtreecommitdiff
path: root/node-exporter/files/systemd.service
diff options
context:
space:
mode:
authorLasse Luttermann Poulsen <llp@nordu.net>2017-08-17 11:29:49 +0200
committerLasse Luttermann Poulsen <llp@nordu.net>2017-08-17 11:29:49 +0200
commite856d50e5972a9964398b322fe4c4f57f354b481 (patch)
treed694b0be469c06839ed60d916f3354887bf497ac /node-exporter/files/systemd.service
parent7c2948c0fd1f5831e2669acadb0cba48f02e7c5c (diff)
Minor structual fixes
Diffstat (limited to 'node-exporter/files/systemd.service')
-rw-r--r--node-exporter/files/systemd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/node-exporter/files/systemd.service b/node-exporter/files/systemd.service
new file mode 100644
index 0000000..faa88b7
--- /dev/null
+++ b/node-exporter/files/systemd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=node_exporter (Prometheus)
+Documentation=https://prometheus.io/docs/introduction/overview/
+After=network-online.target
+
+[Service]
+Restart=on-failure
+ExecStart=##PROG## \
+ ##OPTS##
+
+[Install]
+WantedBy=multi-user.target