2013-12-28 05:04:39 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Unbound recursive Domain Name Server
|
|
|
|
After=syslog.target network.target
|
|
|
|
After=unbound-keygen.service
|
|
|
|
Wants=unbound-keygen.service
|
2018-12-21 07:38:50 +01:00
|
|
|
Wants=unbound-anchor.timer
|
2013-12-28 05:04:39 +01:00
|
|
|
Before=nss-lookup.target
|
|
|
|
Wants=nss-lookup.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2024-03-05 11:01:54 +01:00
|
|
|
User=unbound
|
|
|
|
Group=unbound
|
2013-12-28 05:04:39 +01:00
|
|
|
EnvironmentFile=-/etc/sysconfig/unbound
|
|
|
|
#ExecStartPre=/sbin/runuser --shell /bin/sh -c "/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem" unbound
|
2024-03-05 11:01:54 +01:00
|
|
|
ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
|
2013-12-28 05:04:39 +01:00
|
|
|
ExecStartPre=/usr/sbin/unbound-checkconf
|
2024-03-05 11:01:54 +01:00
|
|
|
ExecStart=!/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
2013-12-28 05:04:39 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|