系统centos7
pip方式安装
添加启动脚本
vi /lib/systemd/system/supervisord.service

[Unit]
Description=Process Monitoring and Control Daemon
After=rc-local.service

[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf
SysVStartPriority=99

[Install]
WantedBy=multi-user.target

无需修改/etc/supervisord.conf配置文件
systemctl enable supervisord.service
systemctl start/restart/stop supervisor.service

如果觉得我的文章对你有用,请随意赞赏