uwsgi https://blog.csdn.net/weixin_36296538/article/details/83049245
1、安装uwsgi
pip install uwsgi # python3
2、在flask项目下创建 xxx.ini 的文件
[uwsgi]
http = ip : port
pythonpath = /home/alert_probe/
module = manage
wsgi-file = /home/alert_probe/manage.py # flask启动文件
callable = app
processes = 4
threads = 2
daemonize = /home/alert_probe/server.log
pidfile = /home/alert_probe/uwsgi.pid