From 00c81b015a81c3441874e2ec67720e74eb042ab3 Mon Sep 17 00:00:00 2001 From: ms Date: Mon, 9 Mar 2026 13:39:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=20OpenClaw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/openclaw/2026.3.7/scripts/init.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/openclaw/2026.3.7/scripts/init.sh b/apps/openclaw/2026.3.7/scripts/init.sh index d3b74ec08..8d83ec7e2 100644 --- a/apps/openclaw/2026.3.7/scripts/init.sh +++ b/apps/openclaw/2026.3.7/scripts/init.sh @@ -10,6 +10,11 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + mkdir -p "$OPENCLAW_ROOT_PATH" + mkdir -p "$REDIS_ROOT_PATH/data" + mkdir -p "$REDIS_ROOT_PATH/data/config" + mkdir -p "$REDIS_ROOT_PATH/data/workspace" + cp ./config/openclaw.json "$OPENCLAW_ROOT_PATH/data/config/openclaw.json" chown -R 1000:1000 "$OPENCLAW_ROOT_PATH"