feat: show update service status in UI
This commit is contained in:
@ -27,6 +27,7 @@ sudo systemctl status skd.service
|
||||
make install
|
||||
make up
|
||||
make down
|
||||
make restart
|
||||
make update
|
||||
make uninstall
|
||||
```
|
||||
|
||||
@ -47,6 +47,7 @@ Hinweis: `jq` ist optional; ohne jq das Token manuell aus der JSON-Antwort lesen
|
||||
make install # Installation (systemd, env, venv)
|
||||
make up # Service starten
|
||||
make down # Service stoppen
|
||||
make restart # Service neu starten
|
||||
make update # Code-Update (git reset --hard origin/main)
|
||||
make healthcheck TOKEN=... # Healthcheck mit Bearer-Token
|
||||
```
|
||||
|
||||
@ -54,6 +54,7 @@ curl -X POST -H "Authorization: Bearer $token" \
|
||||
### Update-API (lokal)
|
||||
Alle Update-Endpunkte erfordern Admin-Auth.
|
||||
- `GET /update/status`
|
||||
- `GET /update/service-status` (zeigt URL und Erreichbarkeit des Update-Services)
|
||||
- `POST /update/enroll` (optional Body: `{ "enroll_token": "..." }`)
|
||||
- `POST /update/check`
|
||||
- `POST /update/apply` (optional Body: `{ "version": "x.y.z" }`)
|
||||
|
||||
Reference in New Issue
Block a user