unbound: setup anchor on service restart
This commit is contained in:
@@ -8,6 +8,7 @@ Wants=network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
PIDFile=/run/unbound.pid
|
||||
ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key
|
||||
ExecStart=/usr/sbin/unbound -d
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user