diff options
| author | Max Resnick <max@ofmax.li> | 2025-10-17 22:32:08 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-10-17 22:32:08 -0700 |
| commit | 8cade5a8af3b2827020d39f07393e779f8b23e7c (patch) | |
| tree | 09d716a1cc611c5648bce9ae60b94964cebcb023 /src/unbound-adblock/bin/entrypoint.sh | |
| parent | 4e92c90f36e520b6bc55efc2d5630c14d3ec1245 (diff) | |
| download | grumpy-containers-8cade5a8af3b2827020d39f07393e779f8b23e7c.tar.gz | |
chore: actually add the server blocks
Diffstat (limited to '')
| -rwxr-xr-x | src/unbound-adblock/bin/entrypoint.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 |