dad965
[Unit]
dad965
Description=Unbound recursive Domain Name Server
dad965
After=network.target
dad965
After=unbound-keygen.service
dad965
Wants=unbound-keygen.service
dad965
Wants=unbound-anchor.timer
dad965
Before=nss-lookup.target
dad965
Wants=nss-lookup.target
dad965
dad965
[Service]
dad965
Type=simple
dad965
EnvironmentFile=-/etc/sysconfig/unbound
dad965
ExecStartPre=/usr/sbin/unbound-checkconf
dad965
ExecStartPre=-/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem -f /etc/resolv.conf -R
dad965
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
dad965
ExecReload=/usr/sbin/unbound-control reload
dad965
dad965
[Install]
dad965
WantedBy=multi-user.target