主管重新阅读有问题吗?

时间:2017-12-08 14:32:14

标签: django nginx gunicorn supervisord supervisor

我使用 NGINX + DJANGO + GUNICORN + SUPERVISOR virtualenv和python3.6。 我在mysite.conf

创建了/etc/supervisor/conf.d
[program:mysite]
command = /home/split/mysite/gunicorn_start.bash                  ; Command to start app
user = split                                                ; User to run as
stdout_logfile = /home/split/logs/gunicorn_supervisor.log   ; Where to write log messages
redirect_stderr = true                                       ; Save stderr in the same log
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8              ; Set UTF-8 as default encoding

之后我试图重读主管

sudo supervisorctl reread

得到了

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

帮助please.e

0 个答案:

没有答案