arvandor/ansible/templates/unbound.service.j2
2026-01-26 00:44:31 -05:00

16 lines
313 B
Django/Jinja

[Unit]
Description=Unbound DNS resolver
Documentation=man:unbound(8)
After=network.target nebula.service
Wants=nebula.service
[Service]
Type=simple
ExecStart=/usr/bin/unbound -d -c /etc/unbound/unbound.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target