Supervisor之supervisorctl权限问题
文章目錄
执行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的权限