【发布时间】:2020-05-24 19:16:17
【问题描述】:
当我检查状态时(sudo supervisorctl status)它是这样的
guni:gunicorn FATAL can't find command
'/home/ubuntu/myvenv/js/bin/gunicorn'
我的gunicorn conf是这样的
[program:gunicorn]
directory=/home/ubuntu/js/main_jntu
command=/home/ubuntu/myvenv/js/bin/gunicorn --workers 3 --bind unix:/home/ubuntu/js/app.sock
main_jntu.wsgi:application
autostart=true
autorestart=true
stderr_logfile=/var/log/gunicorn/gunicorn.err.log
stdout_logfile=/var/log/gunicorn/gunicorn.out.log
[group:guni]
programs:gunicorn
之后,当我检查状态时,它会显示这样的错误
guni:gunicorn FATAL can't find command
'/home/ubuntu/myvenv/js/bin/gunicorn'
【问题讨论】:
-
现在我得到 [致命退出太快(进程日志可能有详细信息)]
标签: django amazon-web-services ubuntu gunicorn supervisord