From 44eecbb1e3fe2c4193e58b6bd9d9cc53ac8fd261 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Mon, 8 Apr 2013 11:58:59 -0400 Subject: [PATCH] * update root anchor call in systemd service file also give sysconfig variable a space to make it more robust with systemd --- unbound.service | 2 +- unbound.sysconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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=" "