Basic Supervisor Commands
-
02 Sep 2013
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
. Runsupervisorctl 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
-
Supervisor: A Process Control System supervisord.org