本文介绍 supervisor reload之后error:

supervisor reload之后error: <class socket.error

This article was original written by Jin Tian, welcome re-post, first come with https://jinfagang.github.io . but please keep this copyright info, thanks, any question could be asked via wechat: jintianiloveu

分析

这个是因为,原来的supervisor里面有个app设置了autostart,你虽然stop了supervisor的服务,但是supervisord依旧在运行,你需要重新:

1
sudo supervisord -c supervisord.conf