| 1 |
[Unit] |
| 2 |
Description=Unbound recursive Domain Name Server |
| 3 |
After=network.target |
| 4 |
After=unbound-keygen.service |
| 5 |
Wants=unbound-keygen.service |
| 6 |
Wants=unbound-anchor.timer |
| 7 |
Before=nss-lookup.target |
| 8 |
Wants=nss-lookup.target |
| 9 |
|
| 10 |
[Service] |
| 11 |
Type=simple |
| 12 |
EnvironmentFile=-/etc/sysconfig/unbound |
| 13 |
ExecStartPre=/usr/sbin/unbound-checkconf |
| 14 |
# anchor tries to use the internet hand hang |
| 15 |
#ExecStartPre=-/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem |
| 16 |
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS |
| 17 |
ExecReload=/usr/sbin/unbound-control reload |
| 18 |
|
| 19 |
[Install] |
| 20 |
WantedBy=multi-user.target |