summaryrefslogtreecommitdiffstats
path: root/blackbox_exporter/blackbox_exporter.service
diff options
context:
space:
mode:
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