yum install supervisor
vim /etc/supervisord.conf
cd /etc/supervisord.d/
6.2 bash终端
supervisorctl status supervisorctl stop tomcat supervisorctl start tomcat supervisorctl restart tomcat supervisorctl reread supervisorctl update