You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
[uwsgi]
uid = uwsgi
gid = uwsgi
#启用 uWSGI 的主进程( Master Process) 模式。
master = true
#清理在启动或退出时生成的临时文件和套接字( socket)
vacuum = true
pidfile = /run/uwsgi/sssss-uwsgi.pid
# 启动服务监听的地址和端口
http-socket = 0.0.0.0:8208
# 指定虚拟环境路径
virtualenv = /opt/service/python_prj/pictoHub.env
# 指定 Flask 应用文件的路径
wsgi-file = /opt/service/python_prj/sssssHub/sssss_to_hub.py
# 设置 Flask 的应用实例
callable = app
# 设置静态文件目录映射
static-map = /static=/opt/service/python_prj/sssssHub/static/
# 日志文件
logto = /var/log/uwsgi/uwsgi.log
# 设置进程数
processes = 4
# 启动时的 Python 环境路径
home = /opt/service/python_prj/pictoHub.env
# 确保应用正常启动
touch-reload = /opt/service/python_prj/sssssHub/sssss_to_hub.py