setup.sh 355 B

1234567
  1. #!/bin/bash
  2. export PY2_ROOT=$IROOT/py2
  3. export PY2=$PY2_ROOT/bin/python
  4. export PY2_PIP=$PY2_ROOT/bin/pip
  5. export PY2_GUNICORN=$PY2_ROOT/bin/gunicorn
  6. $PY2_ROOT/bin/uwsgi --master -L -l 5000 --gevent 1000 --http :8080 --http-keepalive --http-processes ${MAX_THREADS} -p ${MAX_THREADS} -w hello --add-header "Connection: keep-alive" --pidfile /tmp/uwsgi.pid &