Update start-openclaw.sh
Browse files- start-openclaw.sh +7 -0
start-openclaw.sh
CHANGED
|
@@ -70,6 +70,13 @@ EOF
|
|
| 70 |
# 5. ๅฏๅจๅฎๆถๅคไปฝ (ๆฏ 1 ๅฐๆถ)
|
| 71 |
(while true; do sleep 3600; python3 /app/sync.py backup; done) &
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
# 6. ่ฟ่ก
|
| 74 |
openclaw doctor --fix
|
| 75 |
exec openclaw gateway run --port $PORT
|
|
|
|
| 70 |
# 5. ๅฏๅจๅฎๆถๅคไปฝ (ๆฏ 1 ๅฐๆถ)
|
| 71 |
(while true; do sleep 3600; python3 /app/sync.py backup; done) &
|
| 72 |
|
| 73 |
+
# ้
็ฝฎๆไปถ่ฎฟ้ฎ็ฝๅๅ๏ผๅ
่ฎธ่ฎฟ้ฎๅทฅไฝ็ฎๅฝ
|
| 74 |
+
openclaw config set fs.allow-path "/root/.openclaw/workspace"
|
| 75 |
+
|
| 76 |
+
# ๅฆๆๆฏๅผๅๆต่ฏ็ฏๅข๏ผๅฏไปฅๅผๆพๆๆ็ฎๅฝ
|
| 77 |
+
openclaw config set fs.allow-path "*"
|
| 78 |
+
|
| 79 |
+
|
| 80 |
# 6. ่ฟ่ก
|
| 81 |
openclaw doctor --fix
|
| 82 |
exec openclaw gateway run --port $PORT
|