报错
unix:///tmp/supervisor.sock no such file
原因 “/tmp/supervisor.sock”, “/tmp/supervisord.pid” 这两个放在tmp下,会被系统定时清除
解决方法
将/tmp 换到 /var/run 路径下
执行命令
/usr/bin/python2 /usr/bin/supervisord -c /etc/supervisord.conf
supervisorctl update
supervisorctl reload
等待Restart 后,一切OK