当我运行“supervisorctl status hitbot”然后我面对此错误致命退出太快(进程日志可能有详细信息) #/ bin / gunicorn_start这里** BIND = ip_address:port **
/etc/supervisor/conf.d/hitbot.conf
但是当它通过“bash / bin / gunicorn_start”测试gunicorn_start时*然后它正常工作
试试这个命令:pkill -HUP gunicorn
Gunicorn docs:http://docs.gunicorn.org/en/stable/faq.html
“你可以通过向gunicorn发送HUP信号来优雅地重新加载:$ kill -HUP masterpid
”
或者使用完整的命令行:
pkill -HUP -f '/usr/bin/python /usr/bin/gunicorn -w 5 -b 127.0.0.1:5000 myapp:app'