* update root anchor call in systemd service file
also give sysconfig variable a space to make it more robust with systemd
This commit is contained in:
parent
b591aebdf2
commit
44eecbb1e3
@ -7,7 +7,7 @@ Wants=unbound-keygen.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-/etc/sysconfig/unbound
|
EnvironmentFile=-/etc/sysconfig/unbound
|
||||||
ExecStartPre=/usr/sbin/unbound-anchor -a /etc/unbound/root.anchor -c /etc/unbound/icannbundle.pem
|
ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
|
||||||
ExecStartPre=/usr/sbin/unbound-checkconf
|
ExecStartPre=/usr/sbin/unbound-checkconf
|
||||||
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# for extra debug, add "-v -v" or change verbosity: in unbound.conf
|
# for extra debug, add "-v -v" or change verbosity: in unbound.conf
|
||||||
|
|
||||||
UNBOUND_OPTIONS=""
|
UNBOUND_OPTIONS=" "
|
||||||
|
Loading…
Reference in New Issue
Block a user