fix(web): update foreground systemd services safely (#2542)

* fix(web): update foreground systemd services safely

* clarify desktop and remote updates

* Revert "clarify desktop and remote updates"

This reverts commit aaf4516277de003e132d549d5281811fae96cfd5.

* test-web-systemd-updates
This commit is contained in:
Syu
2026-08-07 00:10:29 +03:00
committed by GitHub
parent e8caed45c9
commit 668a6f54fe
3 changed files with 212 additions and 1 deletions
@@ -343,6 +343,9 @@ an authoritative loopback callback URL even when OpenChamber binds port `0`.
- `registerOpenChamberRoutes(app, dependencies)`: registers OpenChamber endpoints:
- `GET /api/openchamber/update-check`
- `POST /api/openchamber/update-install`
- Foreground servers running under a systemd user unit queue installation in
a separate transient unit and restart the configured service afterwards.
`OPENCHAMBER_SYSTEMD_UNIT` overrides the default `openchamber.service`.
- `GET /api/openchamber/models-metadata`
- `GET /api/zen/models`