1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Unbound recursive Domain Name Server After=network.target Before=nss-lookup.target Wants=nss-lookup.target [Service] Type=simple ExecStartPre=/usr/sbin/unbound-checkconf /etc/unbound/%i.conf ExecStart=/usr/sbin/unbound -d -c /etc/unbound/%i.conf [Install] WantedBy=multi-user.target