Skip to content

Commit b058024

Browse files
committed
updated readme with firce update ble command
1 parent b892349 commit b058024

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ wap/wap
88
.env
99
build
1010
tmp-fula-build
11+
.claude/settings.local.json

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,31 @@ Response:
765765
{ "installed": true, "registered": true, "active": false, "endpoint": "support.fx.land:51820", "assigned_ip": "10.0.0.5/32", "peer_id_registered": "12D3KooW..." }
766766
```
767767

768+
#### forceupdate
769+
770+
Pulls the latest Docker images from Docker Hub (runs `fula.sh update`). This is a long-running command (threaded, up to 10-minute timeout). The LED turns purple during the update and yellow for 10 seconds after completion. Does not restart services — send `restart_fula` via `logs {"exec":["restart_fula"]}` separately if needed.
771+
772+
Write: `forceupdate`
773+
774+
Response (success):
775+
```json
776+
{ "status": "updated", "msg": "Docker images pulled successfully" }
777+
```
778+
779+
Response (error):
780+
```json
781+
{ "status": "error", "msg": "stderr output (last 500 chars)" }
782+
```
783+
784+
Response (timeout):
785+
```json
786+
{ "status": "timeout", "msg": "Update timed out after 10 minutes" }
787+
```
788+
789+
Also available via the logs exec path:
790+
791+
Write: `logs {"exec":["force_update"]}`
792+
768793
### Error Responses
769794

770795
On any error, BLE commands return:

0 commit comments

Comments
 (0)