aip9105 commited on
Commit
256ca78
ยท
verified ยท
1 Parent(s): 1f01c99

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. 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