From 9ed8fffcf7678ac171c22d1f5f9a0c83bac789b4 Mon Sep 17 00:00:00 2001 From: ninemine Date: Mon, 3 Nov 2025 19:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start_background.sh | 2 +- stop_background.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 start_background.sh mode change 100644 => 100755 stop_background.sh diff --git a/start_background.sh b/start_background.sh old mode 100644 new mode 100755 index 5d6e2c8..68f9c22 --- a/start_background.sh +++ b/start_background.sh @@ -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 diff --git a/stop_background.sh b/stop_background.sh old mode 100644 new mode 100755