fix(deploy): 恢复update.sh可执行位;ExecStart改bash调用不再依赖可执行位
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user