Installing Supervisor on OS X is simple:
sudo pip install supervisor
This assumes you have pip. If you don't:
curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py
sudo easy_install pip
sudo pip install supervisor
supervisord -c /path/to/supervisord.conf
Seeing all child processes running
supervisorctl -c /path/to/supervisord.conf
I find it helpful to create an alias in my bash profile for those 2 commands above so that I don't have to manually type -c
all the time
echo "alias supervisord='supervisord -c /usr/local/share/supervisor/supervisord.conf'" >> ~/.bash_profile
echo "alias supervisorctl='supervisorctl -c /usr/local/share/supervisor/supervisord.conf'" >> ~/.bash_profile
Ensure supervisord and supervisorctl is run with the
-c
option and /path/to/supervisord.conf file