zim: drop --address 0.0.0.0 in the Docker entrypoint so kiwix-serve works on trixie

The zim Docker image is FROM debian:13, whose kiwix-tools 3.7.0 rejects the
literal "--address 0.0.0.0" ("IP address is not available on this system"),
so the container failed to start after loading the library. Omit --address;
kiwix-serve then defaults to binding all interfaces.

This mirrors 9e92732a, which applied the same fix to the systemd
start_kiwix_serve.sh path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Roland 2026-07-20 13:12:30 -06:00
parent 821c3991be
commit 80cc758e6c
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -4,4 +4,7 @@ rm -f /library.xml
# Find all Zim files and import them.
find /media/wrolpi -iname '*.zim' -exec /import_zim.sh {} \;
kiwix-serve --monitorLibrary --library /library.xml --address 0.0.0.0 --port 80
# Bind all interfaces by omitting --address: kiwix-serve defaults to all
# interfaces, and trixie's kiwix-tools 3.7.0 rejects the literal
# "--address 0.0.0.0" ("IP address is not available on this system").
kiwix-serve --monitorLibrary --library /library.xml --port 80