mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Let gunicorn print access log to the terminal
This commit is contained in:
parent
1b342d5159
commit
6c7f3be785
8
boot.sh
8
boot.sh
@ -14,7 +14,13 @@ if [[ "${#}" -eq 0 ]]; then
|
||||
echo "Deploy command failed, retrying in 5 secs..."
|
||||
sleep 5
|
||||
done
|
||||
gunicorn $([ "${ENABLE_GUNICORN_RELOAD:-False}" == "True" ] && echo "--reload") --worker-class eventlet -b :5000 -w 1 nopaque:app
|
||||
gunicorn \
|
||||
--access-logfile - \
|
||||
--error-logfile - \
|
||||
$([ "${ENABLE_GUNICORN_RELOAD:-False}" == "True" ] && echo "--reload") \
|
||||
--worker-class eventlet \
|
||||
-b :5000 \
|
||||
-w 1 nopaque:app
|
||||
elif [[ "${1}" == "flask" ]]; then
|
||||
exec ${@:1}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user