diff --git a/deploy/update-agent-face.sh b/deploy/update-agent-face.sh index 2f47072..2e7877b 100755 --- a/deploy/update-agent-face.sh +++ b/deploy/update-agent-face.sh @@ -6,9 +6,9 @@ # 停旧控制面 → 按原参数重启 → /health 自检 # # 用法(在 .11 上、用跑控制面的那个账号): -# bash <(curl -fsSL http://192.168.1.18:13300/ssw/ipass/raw/branch/main/deploy/update-agent-face.sh) +# bash <(curl -fsSL http://192.168.1.18:13300/ipass/ipass/raw/branch/main/deploy/update-agent-face.sh) # 或分两步: -# curl -fsSL http://192.168.1.18:13300/ssw/ipass/raw/branch/main/deploy/update-agent-face.sh -o /tmp/uaf.sh +# curl -fsSL http://192.168.1.18:13300/ipass/ipass/raw/branch/main/deploy/update-agent-face.sh -o /tmp/uaf.sh # bash /tmp/uaf.sh # # 安全性: @@ -18,7 +18,7 @@ # ============================================================================= set -euo pipefail -RAW_BASE="http://192.168.1.18:13300/ssw/ipass/raw" +RAW_BASE="http://192.168.1.18:13300/ipass/ipass/raw" # 主/备两种 Gitea raw 路径形态(不同版本分支写法不同,逐个试) RAW_PATHS=( "$RAW_BASE/branch/main/deploy/ipass-agent.py" diff --git a/readme.md b/readme.md index c7c25a4..49d58e1 100755 --- a/readme.md +++ b/readme.md @@ -688,7 +688,7 @@ tail -f ~/ipass-agent.log # 日志(pid 在 ~/ipass-agent **远程自更新(.11 上执行,改控制面不用人工拷文件)**: ```bash -bash <(curl -fsSL http://192.168.1.18:13300/ssw/ipass/raw/branch/main/deploy/update-agent-face.sh) +bash <(curl -fsSL http://192.168.1.18:13300/ipass/ipass/raw/branch/main/deploy/update-agent-face.sh) ``` 脚本自动:从 Gitea raw 下载新版 → 备份旧版(`*.bak-<时间戳>`)→ `py_compile` 校验 →