Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save smant/8559588 to your computer and use it in GitHub Desktop.

Select an option

Save smant/8559588 to your computer and use it in GitHub Desktop.

Revisions

  1. @bhang bhang created this gist Jun 27, 2012.
    22 changes: 22 additions & 0 deletions supervisord_graphite_statsd.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    [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