summaryrefslogtreecommitdiffstats
path: root/blackbox_exporter/blackbox_exporter.service
diff options
context:
space:
mode:
authorGeorg2021-08-06 17:42:45 +0200
committerGeorg2021-08-06 17:42:45 +0200
commit4bd9e36ff45b2001b048a23a218e26605deac7d0 (patch)
tree4b592921aa4cbf98d75059f9223712b6ddcc1799 /blackbox_exporter/blackbox_exporter.service
parent1791f4374b72e5bd45dfbe6d2e543d0537f711e0 (diff)
downloadmonitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.tar.gz
monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.tar.bz2
monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.zip
Mass Commit 06/08/2021
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'blackbox_exporter/blackbox_exporter.service')
-rw-r--r--blackbox_exporter/blackbox_exporter.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/blackbox_exporter/blackbox_exporter.service b/blackbox_exporter/blackbox_exporter.service
new file mode 100644
index 0000000..f282248
--- /dev/null
+++ b/blackbox_exporter/blackbox_exporter.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Prometheus Blackbox Exporter
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=simple
+User=blackbox_exporter
+Group=prometheus
+ExecStart=/opt/blackbox_exporter/blackbox_exporter --config.file=/etc/prometheus/blackbox.yml --web.external-url=https://prometheus.lysergic.dev:4433/blackbox --web.route-prefix=/
+
+[Install]
+WantedBy=multi-user.target