commit cf0731d8febfb71333546a2db8222026edb11e46 Author: Klaus-Uwe Mitterer Date: Mon Oct 9 10:54:43 2017 +0200 Copy over run.sh from oebb_py diff --git a/server/run.sh b/server/run.sh new file mode 100755 index 0000000..d53b938 --- /dev/null +++ b/server/run.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +ip="0.0.0.0" +port="9229" + +workers=$((`getconf _NPROCESSORS_ONLN` * 4)) + +gunicorn -w $workers -b $ip:$port -n "HTTPNS" main