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