supervisor //todo

#安装easy-install
yum install python-setuptools

#安装 supervisor
easy_install supervisor

#创建主配置文件
echo_supervisord_conf > /etc/supervisord.conf

http://www.jianshu.com/p/9abffc905645

优雅重启程序

原文地址:https://www.cnblogs.com/siqi/p/6985649.html