pygps/run.sh
2017-10-12 14:32:29 +02:00

9 lines
144 B
Bash
Executable file

#!/bin/bash
ip="127.0.0.1"
port="6957"
workers=$((`getconf _NPROCESSORS_ONLN` * 4))
gunicorn -w $workers -b $ip:$port -n "GPS Endpoint" main