]>
Commit | Line | Data |
---|---|---|
0ddfe461 JK |
1 | [Unit] |
2 | Description=Unbound DNS validating resolver | |
3 | Wants=nss-lookup.target | |
4 | Before=nss-lookup.target | |
5 | After=network.target | |
6 | ||
7 | [Service] | |
8 | Type=forking | |
0ddfe461 | 9 | ExecStartPre=-/usr/sbin/unbound-anchor -v -a /var/lib/unbound/root.key |
f959c399 | 10 | ExecStartPre=/usr/sbin/unbound-checkconf /etc/unbound/unbound.conf |
0ddfe461 JK |
11 | ExecStart=/usr/sbin/unbound -c /etc/unbound/unbound.conf |
12 | ExecReload=/usr/sbin/unbound-checkconf /etc/unbound/unbound.conf | |
13 | ExecReload=/bin/kill -HUP $MAINPID | |
14 | PIDFile=/run/unbound.pid | |
15 | ||
16 | [Install] | |
17 | WantedBy=multi-user.target |