-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcr_release_uwsgi.ini
31 lines (29 loc) · 1.05 KB
/
cr_release_uwsgi.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[uwsgi]
# Django-related settings
# the base directory (full path)
chdir = /home/cr/release/clashroyalecampsite_sever
# Django's wsgi file
module = clashroyalecampsite_sever.wsgi
# the virtualenv (full path)
virtualenv = /root/PyEnv/clashroyalecampsite
# process-related settings
# master
master = true
# maximum number of worker processes # 指定启动的工作进程数
processes = 3
# 指定工作进程中的线程数
threads = 2
# the socket (use the full path to be safe) # 使用nginx连接时使用
;socket = /home/cr/development/clashroyalecampsite_sever/clashroyalecampsite_sever.sock
socket = 127.0.0.1:8000
# ... with appropriate permissions - may be needed
chmod-socket = 777
# try to remove all of the generated file/sockets # 退出的时候是否清理环境
vacuum = true
# 设置uwsgi后台运行,uwsgi.log保存日志信息
daemonize = uwsgi.log
# 保存启动之后主进程的pid
pidfile = uwsgi.pid
# 缓冲区
buffer-size = 65535
# 自己按照需求更改