Monitor Zim library XML to automatically reload.

This commit is contained in:
Roland 2023-08-26 19:37:29 -06:00
parent ea1cd0bcf8
commit 8fbf07d502
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -4,4 +4,4 @@ rm -f /library.xml
# Find all Zim files and import them.
find /media/wrolpi -iname '*.zim' -exec /import_zim.sh {} \;
kiwix-serve --library /library.xml --address 0.0.0.0 --port 8085
kiwix-serve --monitorLibrary --library /library.xml --address 0.0.0.0 --port 8085