Skip to content

v1.0.4

Choose a tag to compare

@github-actions github-actions released this 15 Jun 20:55
· 5 commits to main since this release
476df85
fix(services): restart a failed/given-up service from the UI (#81)

* fix(frontend): show a Start button for failed/stopped services, not just inactive

A service in 'failed' (e.g. mavlink-router after hitting its StartLimit with no FC) matched neither the active nor the inactive condition, so the Services page showed no Start/Stop button at all and the unit couldn't be recovered from the UI. Render Start for any non-running state (active !== 'active').

* fix(service-manager): reset-failed before start so a given-up unit can restart

systemd refuses 'systemctl start' on a unit that hit its StartLimit until its failed state is cleared, so the UI Start button would no-op on a service that gave up. Run reset-failed before start; verified on-device that reset-failed is authorized for the service user via the existing per-unit manage-units polkit grant.