File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,9 +71,7 @@ chmod 777 /data/logs
7171sudo -E -u deis ./manage.py syncdb --migrate --noinput
7272
7373# spawn a gunicorn server in the background
74- sudo -E -u deis gunicorn deis.wsgi -b 0.0.0.0 -w 8 -n deis --timeout=1200 --pid=/tmp/gunicorn.pid \
75- --log-level info --error-logfile - --access-logfile - \
76- --access-logformat ' %(h)s "%(r)s" %(s)s %(b)s "%(a)s"' &
74+ sudo -E -u deis gunicorn -c deis/gconf.py deis.wsgi &
7775
7876# smart shutdown on SIGINT and SIGTERM
7977function on_exit() {
Original file line number Diff line number Diff line change 1+ bind = '0.0.0.0'
2+ workers = 8
3+ proc_name = 'deis-controller'
4+ timeout = 1200
5+ pidfile = '/tmp/gunicorn.pid'
6+ loglevel = 'info'
7+ errorlog = '-'
8+ accesslog = '-'
9+ access_log_format = '%(h)s "%(r)s" %(s)s %(b)s "%(a)s"'
Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ paramiko==1.15.2
1616psycopg2 == 2.6
1717python-etcd == 0.3.2
1818PyYAML == 3.11
19+ setproctitle == 1.1.8
1920static == 1.1.1
2021South == 1.0.2
You can’t perform that action at this time.
0 commit comments