Switch gunicorn to using a config file, which allows command line parameters to be changed without restarting the master process.

This commit is contained in:
yackob03 2013-12-20 16:11:39 -05:00
parent 2d0a61b6c2
commit 867a3e38c1
2 changed files with 6 additions and 1 deletions

5
gunicorn_config.py Normal file
View file

@ -0,0 +1,5 @@
bind = 'unix:/tmp/gunicorn.sock'
workers = 8
worker_class = 'gevent'
timeout = 2000
daemon = True