From 253c450ac11c9f4a67d50bd5352d8c906e12205b Mon Sep 17 00:00:00 2001 From: zhx Date: Fri, 15 May 2026 13:08:00 +0800 Subject: [PATCH] Set HOME for testbox auto deploy --- testbox/scripts/auto-pull-restart.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/testbox/scripts/auto-pull-restart.sh b/testbox/scripts/auto-pull-restart.sh index 0d2ba29..4d5a7f7 100755 --- a/testbox/scripts/auto-pull-restart.sh +++ b/testbox/scripts/auto-pull-restart.sh @@ -3,6 +3,7 @@ set -euo pipefail ROOT_DIR="${ROOT_DIR:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}" cd "$ROOT_DIR" +export HOME="${HOME:-/root}" LOG_FILE="${TESTBOX_AUTODEPLOY_LOG_FILE:-$ROOT_DIR/logs/auto-deploy.log}" LOCK_FILE="${TESTBOX_DEPLOY_LOCK_FILE:-$ROOT_DIR/run/deploy.lock}"