* 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:
Paul Wouters 2013-04-08 11:58:59 -04:00
parent b591aebdf2
commit 44eecbb1e3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
# for extra debug, add "-v -v" or change verbosity: in unbound.conf
UNBOUND_OPTIONS=""
UNBOUND_OPTIONS=" "