Supervisor is a very good process management tool developed in Python. It allows users to accurately monitor and control multiple sets of specified number of service processes on UNIX-like systems. When the monitored service process quits unexpectedly, it attempts to automatically restart these services to keep the service available.
There are many installation methods provided by Supervisor, which is installed by pip.
$ yum install python-pip $ pip install --upgrade pip $ pip -V pip 9.0.1
Install Supervisor via pip:
$ pip install supervisor Successfully installed supervisor-3.3.3
After installing Supervisor, there are two programs, supervisorctl and supervisord, where supervisorctl is the service monitoring terminal, and supervisord is the brain of all monitoring services. Check if supervisord is successfully installed: