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