TLDR
Below are entries for supervisor to start carbon and Graphite. I found some hints from this file on bitbucket.supervisord.conf
[program:x] entries.[program:graphite] ; django gunicorn instance for graphite command=/home/someuser/devel/graphite/bin/gunicorn_django --config=/home/someuser/devel/graphite/etc/gunicorn.py --pid=/home/someuser/devel/graphite/var/gunicorn.pid webapp/graphite/ environment=PYTHONPATH="/home/someuser/devel/graphite" user=someuser autostart=true autorestart=true directory=/home/someuser/devel/graphite/ [program:carbon] ; this is the only way to get carbon to start ; in a manner that supervisor understands. ; --debug is REQUIRED (apparently) command=/home/someuser/devel/graphite/bin/carbon-cache.py --debug start directory=/home/someuser/devel/graphite/ environment=PYTHONPATH="/home/someuser/devel/graphite" user=cdcd autostart=true autorestart=true
Some quick notes.
- I tried to start carbon without "--debug," by specifying the virtualenv's python application, and a few other things I have since forgotten. This way is the first one that worked.
- Everything is in a virtual environment. I explained the setup here.
Good luck!