summaryrefslogtreecommitdiff
path: root/node-exporter/files/systemd.service
diff options
context:
space:
mode:
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