文章目錄

执行supervisorctl status会提示如下错误

1
error: <class 'socket.error'>, [Errno 13] Permission denied: file: /usr/local/lib/python2.7/socket.py line: 228

Permession denied error when use supervisorctl #173里找到如下解决办法

1
2
3
[unix_http_server]
file=/tmp/supervisor.sock ; (the path to the socket file)
chmod=0766 ; socket file mode (default 0700)

就是修改sock的权限

文章目錄