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:
@@ -22,7 +22,6 @@ fi
|
||||
service="$1"
|
||||
|
||||
if [[ "${service}" == "unbound" ]]; then
|
||||
unbound-anchor -a /var/lib/unbound/root.key
|
||||
systemctl restart --no-block unbound
|
||||
elif [[ "${service}" == "nginx" ]]; then
|
||||
if systemctl -q is-active nginx; then
|
||||
|
||||
Reference in New Issue
Block a user