oebb_py/run.sh

8 lines
138 B
Bash
Executable file

#!/bin/bash
ip="0.0.0.0"
port="8803"
workers=$((`getconf _NPROCESSORS_ONLN` * 4))
gunicorn -w $workers -b $ip:$port -n "OEBB API" main