2011-09-14 20:20:56 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Unbound recursive Domain Name Server
|
2021-04-13 15:33:09 +00:00
|
|
|
After=network-online.target
|
2011-09-14 20:20:56 +00:00
|
|
|
After=unbound-keygen.service
|
|
|
|
Wants=unbound-keygen.service
|
2022-06-27 10:00:02 +00:00
|
|
|
After=unbound-anchor.service
|
|
|
|
Wants=unbound-anchor.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
|
2012-11-03 16:59:54 +00:00
|
|
|
ExecStartPre=/usr/sbin/unbound-checkconf
|
|
|
|
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
2015-07-20 12:36:58 +00:00
|
|
|
ExecReload=/usr/sbin/unbound-control reload
|
2024-01-29 11:35:47 +00:00
|
|
|
Restart=on-abnormal
|
2011-09-14 20:20:56 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|