2019-09-30 11:18:56 -04:00
|
|
|
[Unit]
|
|
|
|
|
Description=Unbound recursive Domain Name Server
|
|
|
|
|
After=network.target
|
|
|
|
|
After=unbound-keygen.service
|
|
|
|
|
Wants=unbound-keygen.service
|
|
|
|
|
Wants=unbound-anchor.timer
|
|
|
|
|
Before=nss-lookup.target
|
|
|
|
|
Wants=nss-lookup.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
|
|
|
|
EnvironmentFile=-/etc/sysconfig/unbound
|
|
|
|
|
ExecStartPre=/usr/sbin/unbound-checkconf
|
|
|
|
|
ExecStartPre=-/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem -f /etc/resolv.conf -R
|
|
|
|
|
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
2024-03-05 08:18:23 +00:00
|
|
|
ExecReload=+/bin/kill -HUP $MAINPID
|
2019-09-30 11:18:56 -04:00
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|