http://blog.csdn.net/xyang81/article/details/51555473
https://www.liaoxuefeng.com/article/0013738926914703df5e93589a14c19807f0e285194fe84000
1,supervisor (http://supervisord.org/) is a client/server service developed with Python and is a process management tool under the Linux/unix system that does not support Windows systems. It is easy to listen, start, stop, restart one or more processes. With supervisor management process, when a process is accidentally killed, Supervisort hear the process after death, will automatically pull it back, it is convenient to do the process of automatic recovery function, no longer need to write their own shell script to control.
Because supervisor is developed by Python, check that the system has installed Python2.4 or later before installing. The following is a centos7,python2.7 version of the environment, the introduction of supervisor installation and configuration of the step together:
Supervisor Installation and configuration (Linux/unix Process management tool)