commit 6278020f617a4f2da89b66f38a6660c6bfb492b8 Author: Klaus-Uwe Mitterer Date: Mon Oct 9 09:07:47 2017 +0200 Copy over runner from oebb_py diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..fe6550e --- /dev/null +++ b/run.sh @@ -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