add unbound_resolver role

This commit is contained in:
2025-05-28 11:15:47 +02:00
parent 6679277418
commit dd1900fffe
10 changed files with 275 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=Unbound exporter for prometheus
Documentation=https://github.com/letsencrypt/unbound_exporter
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/unbound_exporter -unbound.host="unix:///run/unbound.ctl"
Restart=always
[Install]
WantedBy=multi-user.target