syw1516 commited on
Commit
cc440ec
·
verified ·
1 Parent(s): 8f052f2

Update scripts/openclaw-entrypoint.sh

Browse files
Files changed (1) hide show
  1. scripts/openclaw-entrypoint.sh +2 -1
scripts/openclaw-entrypoint.sh CHANGED
@@ -1,3 +1,4 @@
 
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
 
@@ -107,7 +108,7 @@ main() {
107
  backup_on_start
108
 
109
  log_info "启动 OpenClaw 网关..."
110
- exec openclaw gateway --bind lan --port "${OPENCLAW_GATEWAY_PORT}"
111
  }
112
 
113
  main "$@"
 
1
+
2
  #!/usr/bin/env bash
3
  set -euo pipefail
4
 
 
108
  backup_on_start
109
 
110
  log_info "启动 OpenClaw 网关..."
111
+ exec openclaw gateway --bind lan --port "${OPENCLAW_GATEWAY_PORT}" --token "${OPENCLAW_GATEWAY_TOKEN}"
112
  }
113
 
114
  main "$@"