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
1 |
yum -y install supervisor |
On Ubuntu/Debian
1 |
apt install -y supervisor |
Config files are stored in
1 |
/etc/supervisor/ |
Your own application configurations at
1 |
/etc/supervisor/conf.d/ |
some useful commands
1 2 |
supervisorctl reread supervisorctl update |
To restart all services, run
1 |
supervisorctl restart all |
See autostart