Update start-openclaw.sh
Browse files- start-openclaw.sh +0 -12
start-openclaw.sh
CHANGED
|
@@ -84,18 +84,6 @@ cat > /root/.openclaw/openclaw.json <<EOF
|
|
| 84 |
}
|
| 85 |
EOF
|
| 86 |
|
| 87 |
-
# -----------------------------
|
| 88 |
-
# 7️⃣ 微信 token 持久化处理(恢复持久化 accounts)
|
| 89 |
-
# -----------------------------
|
| 90 |
-
if [[ -d /workspace/openclaw_data/weixin_accounts && -n "$(ls -A /workspace/openclaw_data/weixin_accounts)" ]]; then
|
| 91 |
-
echo "🔄 正在恢复持久化的微信 accounts …"
|
| 92 |
-
cp -r /workspace/openclaw_data/weixin_accounts/* /root/.openclaw/openclaw-weixin/accounts/
|
| 93 |
-
fi
|
| 94 |
-
|
| 95 |
-
# -----------------------------
|
| 96 |
-
# 8️⃣ (建议)去掉 doctor --fix
|
| 97 |
-
# -----------------------------
|
| 98 |
-
# openclaw doctor --fix # 如需自检请手动执行
|
| 99 |
|
| 100 |
# -----------------------------
|
| 101 |
# 9️⃣ 定时备份(每小时)并可同步到 HF
|
|
|
|
| 84 |
}
|
| 85 |
EOF
|
| 86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
# -----------------------------
|
| 89 |
# 9️⃣ 定时备份(每小时)并可同步到 HF
|