File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ chown -R deis:deis /var/log/deis
5555sudo -E -u deis ./manage.py syncdb --migrate --noinput
5656
5757# spawn a gunicorn server in the background
58- sudo -E -u deis ./manage.py run_gunicorn -b 0.0.0.0 -w 8 -t 600 -n deis --log-level debug --pid=/tmp/gunicorn.pid --timeout=1200 &
58+ sudo -E -u deis gunicorn deis.wsgi -b 0.0.0.0 -w 8 -n deis --timeout=1200 --pid=/tmp/gunicorn.pid \
59+ --log-level info --error-logfile - --access-logfile - \
60+ --access-logformat ' %(h)s "%(r)s" %(s)s %(b)s "%(a)s"' &
5961
6062# smart shutdown on SIGINT and SIGTERM
6163function on_exit() {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ django-json-field==0.5.5
1212django-yamlfield == 0.5
1313djangorestframework == 2.3.14
1414docker-py == 0.4.0
15- gunicorn == 18.0
15+ gunicorn == 19.1.1
1616paramiko == 1.14.1
1717psycopg2 == 2.5.2
1818python-etcd == 0.3.0
You can’t perform that action at this time.
0 commit comments