Compare commits

...

2 commits

2 changed files with 4 additions and 1 deletions

View file

@ -18,7 +18,7 @@ echo ">>> Starting kiwix";
case "${mode}" in
serve )
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 $*";

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash
# NOTE: mapserver doesn't support the leveldb backend - only sqlite3 or postgresql :-(
# ....so we'll need to switch to PostgreSQL, but that adds additional complexity..... oh boy
# The architecture - possible values: arm (default), x86, x86_64
arch="${arch:-arm}";