2011-09-14 20:20:56 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Unbound recursive Domain Name Server
|
|
|
|
After=syslog.target network.target
|
|
|
|
After=unbound-keygen.service
|
|
|
|
Wants=unbound-keygen.service
|
2013-04-11 16:01:35 +00:00
|
|
|
Before=nss-lookup.target
|
|
|
|
Wants=nss-lookup.target
|
2011-09-14 20:20:56 +00:00
|
|
|
|
|
|
|
[Service]
|
2012-11-03 16:59:54 +00:00
|
|
|
Type=simple
|
2011-09-14 20:20:56 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/unbound
|
2013-04-08 15:58:59 +00:00
|
|
|
ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
|
2012-11-03 16:59:54 +00:00
|
|
|
ExecStartPre=/usr/sbin/unbound-checkconf
|
|
|
|
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
2011-09-14 20:20:56 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|