error: <class 'socket.error'>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 228

supervisorctl reload 报以下错误时, 是因为自己配置的新服务没有关联成功
error: , [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 228

在运行 reload 命令前,先执行如下2条命令, 可解决

sudo supervisord -c /etc/supervisor/lunar.conf  
sudo supervisorctl -c /etc/supervisor/lunar.conf