kiwix: specify path to library.xml, not dirpath

This commit is contained in:
Starbeamrainbowlabs 2022-11-12 17:32:57 +00:00
parent 281e26b4b5
commit 15ee8c77a0
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -18,7 +18,7 @@ echo ">>> Starting kiwix";
case "${mode}" in case "${mode}" in
serve ) serve )
echo ">>> kiwix-serve --library --port ${NOMAD_PORT_kiwix} /srv/data"; echo ">>> kiwix-serve --library --port ${NOMAD_PORT_kiwix} /srv/data";
/app/kiwix-serve --library --monitorLibrary --port "${NOMAD_PORT_kiwix}" /srv/data; /app/kiwix-serve --library --monitorLibrary --port "${NOMAD_PORT_kiwix}" /srv/dat/library.xml;
;; ;;
* ) * )
echo ">>> kiwix-serve $*"; echo ">>> kiwix-serve $*";