unbound/unbound.service

20 lines
545 B
SYSTEMD
Raw Normal View History

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