python学习

This commit is contained in:
2019-08-21 17:16:47 +08:00
parent 7ef794388b
commit 8926b56c88
2 changed files with 35 additions and 28 deletions

View File

@@ -1,17 +1,17 @@
[uwsgi]
#源码目录
chdir=/data/www/Order //需要修改
chdir=/Order
#python 虚拟环境
home=/data/www/python3_vir //需要修改
home=/python3_vir
module=manager
callable=app
master=true
processes=4
http=0.0.0.0:8889
socket=/data/www/logs/order.sock //需要修改
socket=/logs/order.sock
buffer-size=65535
pidfile=/data/www/logs/order.pid //需要修改
pidfile=/logs/order.pid
chmod-socket=777
logfile-chmod=644
daemonize=/data/www/logs/order.log //需要修改
daemonize=/logs/order.log
static-map = /static=/data/www/Order/web/static