Skip to content

Instantly share code, notes, and snippets.

@bhang
Created June 27, 2012 13:45
Show Gist options
  • Save bhang/3004142 to your computer and use it in GitHub Desktop.
Save bhang/3004142 to your computer and use it in GitHub Desktop.
Graphite + statsd supervisord configuration
[program:gunicorn-graphite]
command=/usr/local/bin/gunicorn_django -u www-data -g www-data -b 127.0.0.1:8080 --log-file=/opt/graphite/storage/log/webapp/gunicorn.log /opt/graphite/webapp/graphite/settings.py
process_name=%(program_name)s
autostart=true
autorestart=true
stopsignal=QUIT
user=www-data
[program:carbon-cache]
command=python /opt/graphite/bin/carbon-cache.py --debug start
process_name=%(program_name)s
autostart=true
autorestart=true
stopsignal=QUIT
[program:statsd]
command=/usr/bin/node /opt/statsd/stats.js /opt/statsd/localConfig.js
process_name=%(program_name)s
autostart=true
autorestart=true
stopsignal=QUIT
user=www-data
@kyrannian
Copy link

works well. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment