kiwix: monitor library & reload automagically

This commit is contained in:
Starbeamrainbowlabs 2022-11-07 01:11:52 +00:00
parent b92e2034b7
commit 88aea0d1d6
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 --port "${NOMAD_PORT_kiwix}" /srv/data; /app/kiwix-serve --library --monitorLibrary --port "${NOMAD_PORT_kiwix}" /srv/data;
;; ;;
* ) * )
echo ">>> kiwix-serve $*"; echo ">>> kiwix-serve $*";