python3安装使用supervisor
1.安装supervisor pip install supervisor
2.生成配置文件 mkdir /etc/supervisor echo_supervisord_conf > /etc/supervisor/supervisord.conf
3.修改supervisor的配置文件 把/tmp/supervisor.sock改成/var/run/supervisor.sock,防止出现unix:///tmp/supervisor.sock no such file问题 把/tmp/supeervisor.log改成/var/log/supervisor.log
4.启动supervised supervisord -c /etc/supervisord/supervisord.conf