From: Jacek Konieczny Date: Fri, 25 Apr 2014 08:48:51 +0000 (+0200) Subject: Run unbound-checkconf after unbound-anchor X-Git-Tag: auto/th/unbound-1.4.22-2~3 X-Git-Url: https://git.pld-linux.org/?p=packages%2Funbound.git;a=commitdiff_plain;h=f959c399a9da1df3b630f3f8521bfe1b98e63c22;hp=c0601a6d9e2ed7159fe25c91aa158e643c1667b0 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. --- 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