httpns/server/run.sh

9 lines
136 B
Bash
Raw Permalink Normal View History

2017-10-09 08:54:43 +00:00
#!/bin/bash
ip="0.0.0.0"
port="9229"
workers=$((`getconf _NPROCESSORS_ONLN` * 4))
gunicorn -w $workers -b $ip:$port -n "HTTPNS" main