Supervisord: less server babysitting
[Supervisord][supervisord] is a simple monitoring tool. It consists of a server and an accompanying command line interface to manage and check the status of long running processes.
Motivations for adding complexity
Adding yet another component should always be weighted against the consequences of adding more complexity. A successful deployment of supervisord will do much of the babysitting involved in server maintenance. But we all know that it’s never that easy and a simple Bash script in a crontab will likely take you 90% of the way.
Having said that, here are a few really nice benefits you get from using supervisord:
- A unified interface for starting, stopping, and reloading your processes
- Automatic restarts if your processes go down
- Ability to define startup scripts using intuitive yet powerful
ini
files
Installation
Supervisord is really simple to install:
$ sudo apt-get
...