pygps/run.sh

9 lines
142 B
Bash
Raw Normal View History

2017-10-09 07:07:47 +00:00
#!/bin/bash
ip="0.0.0.0"
port="6957"
workers=$((`getconf _NPROCESSORS_ONLN` * 4))
gunicorn -w $workers -b $ip:$port -n "GPS Endpoint" main