monitoring/blackbox_exporter/blackbox_exporter.service

14 lines
385 B
SYSTEMD
Raw Normal View History

[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