修复自动脚本

This commit is contained in:
ninemine
2025-11-03 19:58:52 +08:00
parent bcf93e910a
commit 9ed8fffcf7
2 changed files with 1 additions and 1 deletions

2
start_background.sh Normal file → Executable file
View File

@@ -20,7 +20,7 @@ fi
echo "正在启动LiuBaiBlog网站服务器..."
# 使用nohup在后台运行
nohup python3 app.py > "$LOG_FILE" 2>&1 &
nohup venv/bin/python3 app.py > "$LOG_FILE" 2>&1 &
PID=$!
# 保存PID

0
stop_background.sh Normal file → Executable file
View File