更新 Service:OpenClaw
@@ -41,3 +41,13 @@ sudo loginctl enable-linger $USER
|
|||||||
```bash
|
```bash
|
||||||
openclaw gateway status --port 18789
|
openclaw gateway status --port 18789
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# 設定 OpenClaw 密碼
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo "$(openssl rand -hex 32)" > openclaw-token
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
openclaw config set gateway.auth.token "$(cat openclaw-token)"
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user