Copy over runner from oebb_py

This commit is contained in:
Klaus-Uwe Mitterer 2017-10-09 09:07:47 +02:00
commit 6278020f61

8
run.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
ip="0.0.0.0"
port="6957"
workers=$((`getconf _NPROCESSORS_ONLN` * 4))
gunicorn -w $workers -b $ip:$port -n "GPS Endpoint" main