This commit is contained in:
Mr Chen
2024-11-28 19:31:45 +08:00
parent a059e09244
commit 12d5ce5eea
2 changed files with 3 additions and 6 deletions
+3 -2
View File
@@ -39,9 +39,10 @@ mw_start_task()
}
mw_start(){
cd ${DIR}/web && gunicorn -c setting.py app:app
#安全启动
# 后台任务
mw_start_task
cd ${DIR}/web && gunicorn -c setting.py app:app
}
-4
View File
@@ -12,10 +12,6 @@
# 配置文件
# ---------------------------------------------------------------------------------
# 初始化db
from admin import setup
setup.init()
import time
import sys
import random