From 8cade5a8af3b2827020d39f07393e779f8b23e7c Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Fri, 17 Oct 2025 22:32:08 -0700 Subject: chore: actually add the server blocks --- src/unbound-adblock/bin/entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/unbound-adblock/bin') diff --git a/src/unbound-adblock/bin/entrypoint.sh b/src/unbound-adblock/bin/entrypoint.sh index b9dd19d..c2577fb 100755 --- a/src/unbound-adblock/bin/entrypoint.sh +++ b/src/unbound-adblock/bin/entrypoint.sh @@ -15,12 +15,13 @@ else fi # Update root trust anchor +# This is kind of weird... +# https://manpages.debian.org/testing/unbound-anchor/unbound-anchor.8.en.html#EXIT_CODE log "Updating root trust anchor..." if unbound-anchor -a /var/lib/unbound/root.key; then - log "Root trust anchor updated successfully" + log "no update was necessary" else - log "ERROR: Root trust anchor update failed" - exit 1 + log "The root anchor was updated using the certificate or if the builtin root-anchor was used." fi # Start unbound in debug mode -- cgit v1.2.3