unbound-anchor is now part of ExecStartPre
it seems unbound-anchor is not a dep of unbound in ubuntu 24. some installations are thus missing this package. in any case, ignore unbound-anchor exit status
This commit is contained in:
@@ -247,8 +247,7 @@ function check_dns() {
|
||||
|
||||
function check_unbound() {
|
||||
if ! systemctl is-active -q unbound; then
|
||||
info "unbound is down. updating root anchor to see if it fixes it"
|
||||
unbound-anchor -a /var/lib/unbound/root.key
|
||||
info "unbound is down. restarting to see if it fixes it" # unbound-anchor is part of ExecStartPre
|
||||
systemctl restart unbound
|
||||
|
||||
if ! systemctl is-active -q unbound; then
|
||||
|
||||
Reference in New Issue
Block a user