gunicorn 的关闭与重启

1. 查看 gunicorn 进程树

pstree -ap|grep gunicorn

2. 结束顶层进程

kill -9 12232

3. 重启 gunicorn 服务

sudo systemctl start app

展开阅读全文