Luzilla / dnsbl_exporter

Prometheus compatible exporter to query DNSBLs/RBLs.
https://www.luzilla-capital.com/
Other
30 stars 8 forks source link

systemd unit #86

Open till opened 3 years ago

till commented 3 years ago

The configuration is pretty straightforward

[Unit]
Description=DNSBL Exporter
StartLimitBurst=5

[Service]
User=root
ExecStart=/root/prometheus-monitoring/dnsbl_exporter/dnsbl_exporter --config.dns-resolver [REDACTED] --config.rbls /root/prometheus-monitoring/config-files/dnsbl_exporter/rbls.ini --config.targets /root/prometheus-monitoring/config-files/dnsbl_exporter/targets.ini
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=default.target

The version used is the latest release

./dnsbl_exporter --version
dnsbl-exporter version 0.4.3

_Originally posted by @andbuitra in https://github.com/Luzilla/dnsbl_exporter/issues/64#issuecomment-779209803_

till commented 3 years ago

Related: #10