2021-10-31 16:15:08 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
2021-11-21 20:57:06 +00:00
|
|
|
if [ -z "$1" ] || [ "$@" = "run" ]; then
|
|
|
|
gunicorn --bind 0.0.0.0:${PORT:-8000} -w 4 --preload --access-logfile - morss
|
2021-10-31 16:15:08 +00:00
|
|
|
else
|
2021-11-21 20:57:06 +00:00
|
|
|
morss $@
|
2021-10-31 16:15:08 +00:00
|
|
|
fi
|