diff --git a/unbound.service b/unbound.service index 0532f70..4f82a86 100644 --- a/unbound.service +++ b/unbound.service @@ -7,7 +7,7 @@ Wants=unbound-keygen.service [Service] Type=simple 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 ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS diff --git a/unbound.sysconfig b/unbound.sysconfig index fae3306..3bcf131 100644 --- a/unbound.sysconfig +++ b/unbound.sysconfig @@ -1,3 +1,3 @@ # for extra debug, add "-v -v" or change verbosity: in unbound.conf -UNBOUND_OPTIONS="" +UNBOUND_OPTIONS=" "