修复自动脚本
This commit is contained in:
2
start_background.sh
Normal file → Executable file
2
start_background.sh
Normal file → Executable 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
0
stop_background.sh
Normal file → Executable file
Reference in New Issue
Block a user