Skip to content

Commit

Permalink
remove commented code; bind trying to solve 502 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yarray committed May 11, 2015
1 parent f4785a3 commit 1e43984
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions deployment/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ nodaemon = true
[program:nginx]
command = /usr/sbin/nginx
startsecs = 5
#stdout_events_enabled = true
#stderr_events_enabled = true
stdout_events_enabled = true
stderr_events_enabled = true

[program:app-gunicorn]
command = /usr/local/bin/gunicorn avipost.wsgi:application --env DJANGO_SETTINGS_MODULE=avipost.settings.ci --chdir /usr/src/app/avipost
#stdout_events_enabled = true
#stderr_events_enabled = true
command = /usr/local/bin/gunicorn avipost.wsgi:application--bind 127.0.0.1:8000 --env DJANGO_SETTINGS_MODULE=avipost.settings.ci --chdir /usr/src/app/avipost
stdout_events_enabled = true
stderr_events_enabled = true

#[eventlistener:stdout]
#command = supervisor_stdout
#buffer_size = 100
#events = PROCESS_LOG
#result_handler = supervisor_stdout:evnet_handler
command = supervisor_stdout
buffer_size = 100
events = PROCESS_LOG
result_handler = supervisor_stdout:evnet_handler

0 comments on commit 1e43984

Please sign in to comment.