|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
NAME="djangoblog" # Name of the application
|
|
|
|
|
DJANGODIR=/code/djangoBlog # Django project directory
|
|
|
|
|
DJANGODIR=/code/djangoblog # Django project directory
|
|
|
|
|
USER=root # the user to run as
|
|
|
|
|
GROUP=root # the group to run as
|
|
|
|
|
NUM_WORKERS=1 # how many worker processes should Gunicorn spawn
|
|
|
|
|
@ -31,4 +31,4 @@ exec gunicorn ${DJANGO_WSGI_MODULE}:application \
|
|
|
|
|
--log-level=debug \
|
|
|
|
|
--log-file=- \
|
|
|
|
|
--worker-class gevent \
|
|
|
|
|
--threads 4
|
|
|
|
|
--threads 4
|
|
|
|
|
|