Skip to content

Commit ac263de

Browse files
committed
fix: simplify config reload to touch method only
1 parent 082490c commit ac263de

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

  • all-in-one/clawdbot-integration/skill/higress-auto-router

all-in-one/clawdbot-integration/skill/higress-auto-router/SKILL.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,10 @@ docker cp /tmp/model-router.yaml <container_name>:/data/wasmplugins/model-router
122122
After modifying the configuration, trigger Higress to reload the plugin configuration **without restarting the container**:
123123

124124
```bash
125-
# Method 1: Touch the configuration file to trigger reload
126125
docker exec <container_name> touch /data/wasmplugins/model-router.internal.yaml
127-
128-
# Method 2: Use Higress's configuration reload endpoint (if available)
129-
curl -X POST http://localhost:8001/api/v1/plugins/reload
130-
131-
# Method 3: Send SIGHUP to the Higress process (if supported)
132-
docker exec <container_name> kill -HUP 1
133126
```
134127

135-
**Note:** Higress watches configuration files in `/data/wasmplugins/` and automatically reloads when they are modified. The modification itself should trigger a reload. If not, use Method 1 (touch) to ensure the file's timestamp is updated.
128+
**Note:** Higress watches configuration files in `/data/wasmplugins/` and automatically reloads when they are modified. Touching the file ensures the timestamp is updated to trigger the reload.
136129

137130
### Step 8: Confirm to User
138131

0 commit comments

Comments
 (0)