Copy over run.sh from oebb_py
This commit is contained in:
commit
cf0731d8fe
1 changed files with 8 additions and 0 deletions
8
server/run.sh
Executable file
8
server/run.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue