mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
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>
10 lines
411 B
Bash
Executable file
10 lines
411 B
Bash
Executable file
#! /usr/bin/env bash
|
|
rm -f /library.xml
|
|
|
|
# Find all Zim files and import them.
|
|
find /media/wrolpi -iname '*.zim' -exec /import_zim.sh {} \;
|
|
|
|
# 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
|