From c3f4243e81d39152888cb32abd45369247cb1713 Mon Sep 17 00:00:00 2001 From: Developer Date: Tue, 2 Dec 2025 21:26:19 -0800 Subject: [PATCH] =?UTF-8?q?fix(presence-service):=20=E4=BF=AE=E5=A4=8D=20d?= =?UTF-8?q?eploy.sh=20=E8=87=AA=E8=B0=83=E7=94=A8=E6=9D=83=E9=99=90?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 bash "$SCRIPT_DIR/deploy.sh" 替代 $0 避免路径变化导致的权限问题 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- backend/services/presence-service/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/services/presence-service/deploy.sh b/backend/services/presence-service/deploy.sh index 3288f4e4..53453270 100644 --- a/backend/services/presence-service/deploy.sh +++ b/backend/services/presence-service/deploy.sh @@ -61,7 +61,7 @@ case "$1" in log_success "$SERVICE_NAME started" log_info "Waiting for service to be healthy..." sleep 5 - $0 health + bash "$SCRIPT_DIR/deploy.sh" health ;; start-deps) @@ -86,8 +86,8 @@ case "$1" in ;; restart) - $0 stop - $0 start + bash "$SCRIPT_DIR/deploy.sh" stop + bash "$SCRIPT_DIR/deploy.sh" start ;; up)