Basic Supervisor Commands


Tip: Use Supervisor in conjunction with Celery for automated or asynchronous goodness for your Django apps!

Install

$ easy_install supervisor

Create supervisord.conf file

$ echo_supervisord_conf > supervisord.conf

Start supervisor using supervisord.conf

$ supervisord -c supervisord.conf

Tip: After starting supervisor, it’s much easier to manage supervisor with supervisorctl. Run supervisorctl help for the list of commands.

Stop supervisor

$ supervisorctl shutdown

Check which processes are running

$ supervisorctl status

Update supervisord to use modified supervisord.conf

# Always run this after modifying `supervisord.conf`
$ supervisorctl update

More Information

comments powered by Disqus