unbound/unbound.service

24 lines
666 B
SYSTEMD
Raw Permalink Normal View History

2011-09-14 20:20:56 +00:00
[Unit]
Description=Unbound recursive Domain Name Server
After=network.target
# Use ip-freebind: yes or add After=network-online.target, rhbz#2338429,
# if interface: specifies exact address, not localhost nor wildcard
#After=network-online.target
2011-09-14 20:20:56 +00:00
After=unbound-keygen.service
Wants=unbound-keygen.service
After=unbound-anchor.service
Wants=unbound-anchor.service
Before=nss-lookup.target
Wants=nss-lookup.target
2011-09-14 20:20:56 +00:00
[Service]
Type=notify
2011-09-14 20:20:56 +00:00
EnvironmentFile=-/etc/sysconfig/unbound
ExecStartPre=/usr/sbin/unbound-checkconf
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
ExecReload=/usr/sbin/unbound-control reload
Restart=on-abnormal
2011-09-14 20:20:56 +00:00
[Install]
WantedBy=multi-user.target