dnsbl_exporter icon indicating copy to clipboard operation
dnsbl_exporter copied to clipboard

systemd unit

Open till opened this issue 4 years ago • 1 comments

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 avatar Apr 17 '21 15:04 till

Related: #10

till avatar Apr 17 '21 15:04 till