Some checks failed
continuous-integration/drone/push Build is failing
Might not be that reliable
13 lines
253 B
Bash
Executable File
13 lines
253 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if [ "$1" = "sh" ] || [ "$1" = "bash" ]; then
|
|
exec $@
|
|
|
|
elif [ -z "$1" ] || [ "$@" = "run" ]; then
|
|
gunicorn --bind 0.0.0.0:${PORT:-8000} --workers ${WORKERS:-4} --threads ${THREADS:-4} --preload --access-logfile - morss
|
|
|
|
else
|
|
morss $@
|
|
|
|
fi
|