mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-01 18:30:34 +00:00
Fix bug on corpus analysis startup
This commit is contained in:
4
boot.sh
4
boot.sh
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
if [[ "${NOPAQUE_DAEMON_ENABLED:-True}" == "True" ]]; then
|
||||
echo "INFO Starting nopaque daemon process..."
|
||||
./nopaque-daemon.sh &
|
||||
@ -16,7 +14,7 @@ if [[ "${#}" -eq 0 ]]; then
|
||||
echo "Deploy command failed, retrying in 5 secs..."
|
||||
sleep 5
|
||||
done
|
||||
python nopaque.py
|
||||
gunicorn $([ "${ENABLE_GUNICORN_RELOAD:-False}" == "True" ] && echo "--reload") --worker-class eventlet -b :5000 -w 1 nopaque:app
|
||||
elif [[ "${1}" == "flask" ]]; then
|
||||
exec ${@:1}
|
||||
else
|
||||
|
Reference in New Issue
Block a user