fix(presence-service): 修复 deploy.sh 自调用权限问题

使用 bash "$SCRIPT_DIR/deploy.sh" 替代 $0 避免路径变化导致的权限问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Developer 2025-12-02 21:26:19 -08:00
parent 893399e07f
commit c3f4243e81
1 changed files with 3 additions and 3 deletions

View File

@ -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)