Jorik Cronenberg
2fa50e9f92
- Use prefixes instead of sudo in unbound.service (boo#1215628) OBS-URL: https://build.opensuse.org/request/show/1140878 OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=171
22 lines
685 B
Desktop File
22 lines
685 B
Desktop File
[Unit]
|
|
Description=Unbound recursive Domain Name Server
|
|
After=syslog.target network.target
|
|
After=unbound-keygen.service
|
|
Wants=unbound-keygen.service
|
|
Wants=unbound-anchor.timer
|
|
Before=nss-lookup.target
|
|
Wants=nss-lookup.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=unbound
|
|
Group=unbound
|
|
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
|
|
ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
|
|
ExecStartPre=/usr/sbin/unbound-checkconf
|
|
ExecStart=!/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|