[Unit]
Description=Prometheus Blackbox Exporter
After=network-online.target

[Service]
Type=simple
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/opt/blackbox_exporter/blackbox_exporter \
    --web.external-url=https://{{ server }}/blackbox \
    --web.listen-address=127.0.0.1:9115 \
    --config.file=/opt/blackbox_exporter/blackbox.yml

SyslogIdentifier=blackbox_exporter
Restart=always
RestartSec=1
StartLimitInterval=0

[Install]
WantedBy=multi-user.target
