summaryrefslogtreecommitdiff
blob: 84b34af45446b6ab7e75dff8ae2b52c1ac6d8bb0 (plain)
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