4fd01f
[Unit]
4fd01f
Description=Unbound recursive Domain Name Server
4fd01f
After=syslog.target network.target
4fd01f
After=unbound-keygen.service
4fd01f
Wants=unbound-keygen.service
9d429a
Wants=unbound-anchor.timer
4fd01f
Before=nss-lookup.target
4fd01f
Wants=nss-lookup.target
4fd01f
4fd01f
[Service]
4fd01f
Type=simple
4fd01f
EnvironmentFile=-/etc/sysconfig/unbound
4fd01f
ExecStartPre=/usr/sbin/unbound-checkconf
9d429a
ExecStartPre=-/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
4fd01f
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
4fd01f
4fd01f
[Install]
4fd01f
WantedBy=multi-user.target