From 270ffc81f926f757bca38d811ee3154df822e07d Mon Sep 17 00:00:00 2001 From: gouki Date: Sun, 9 Aug 2026 21:18:27 +0000 Subject: [PATCH] =?UTF-8?q?fix(deploy):=20=E6=81=A2=E5=A4=8Dupdate.sh?= =?UTF-8?q?=E5=8F=AF=E6=89=A7=E8=A1=8C=E4=BD=8D=EF=BC=9BExecStart=E6=94=B9?= =?UTF-8?q?bash=E8=B0=83=E7=94=A8=E4=B8=8D=E5=86=8D=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=8F=AF=E6=89=A7=E8=A1=8C=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/vps-manager-update.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/vps-manager-update.service b/deploy/vps-manager-update.service index e1ec9a8..bf83249 100644 --- a/deploy/vps-manager-update.service +++ b/deploy/vps-manager-update.service @@ -8,4 +8,5 @@ Wants=network-online.target [Service] Type=oneshot -ExecStart=/opt/vps-manager/deploy/update.sh +# 用 bash 显式调用,不依赖脚本可执行位(避免编辑后 mode 丢失导致更新链路自毁) +ExecStart=/bin/bash /opt/vps-manager/deploy/update.sh