From f959c399a9da1df3b630f3f8521bfe1b98e63c22 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Fri, 25 Apr 2014 10:48:51 +0200 Subject: [PATCH] Run unbound-checkconf after unbound-anchor Otherwise unbound.service won't start when the auto-trust-anchor file (which would be created by unbound-anchor) is missing. --- unbound.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unbound.service b/unbound.service index b631610..87bc9d8 100644 --- a/unbound.service +++ b/unbound.service @@ -6,8 +6,8 @@ After=network.target [Service] Type=forking -ExecStartPre=/usr/sbin/unbound-checkconf /etc/unbound/unbound.conf ExecStartPre=-/usr/sbin/unbound-anchor -v -a /var/lib/unbound/root.key +ExecStartPre=/usr/sbin/unbound-checkconf /etc/unbound/unbound.conf ExecStart=/usr/sbin/unbound -c /etc/unbound/unbound.conf ExecReload=/usr/sbin/unbound-checkconf /etc/unbound/unbound.conf ExecReload=/bin/kill -HUP $MAINPID -- 2.43.0