[packages/unbound] Run unbound-checkconf after unbound-anchor

jajcus jajcus at pld-linux.org
Fri Apr 25 11:23:20 CEST 2014


commit f959c399a9da1df3b630f3f8521bfe1b98e63c22
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Fri Apr 25 10:48:51 2014 +0200

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

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unbound.git/commitdiff/b53232e51ee739a02cee9b4f29d2c3e444b86514



More information about the pld-cvs-commit mailing list