Supervisord
supervisord is a program that allows you to monitor and control processes. supervisord runs processes as its sub-process and can restart a process if it crashes.
supervisord is the server. supervisorctl is the client program.
You can find more info at
supervisorctl
How to Install Supervisord on CentOS 7
To install on CentOS run
yum -y install supervisor
On Ubuntu/Debian
apt install -y supervisor
Config files are stored in
/etc/supervisor/
Your own application configurations at
/etc/supervisor/conf.d/
some useful commands
supervisorctl reread supervisorctl update
To restart all services, run
supervisorctl restart all
See autostart