-
fix(update): native in-app self-update restarts the systemd service itself
Release / version (push) Canceled after 0sRelease / frontend (push) Canceled after 0sRelease / linux (amd64) (push) Canceled after 0sRelease / linux (arm64) (push) Canceled after 0sRelease / windows (push) Canceled after 0sRelease / macos (push) Canceled after 0sRelease / release (push) Canceled after 0sBuild and Push Docker Image / build-and-push (push) Canceled after 0sreleased this
2026-06-20 21:45:40 +03:00 A native "Update now" swapped the binary on disk but left the old process
running, so /version never changed and the UI's restart-poll hung until a
manualsystemctl restart. Now, when running as the systemd unit's main
process (INVOCATION_ID set) with systemd-run available, updateNative schedules
a transient-timer restart ~2s after responding — the update applies on its own.
Thenode-stats updateCLI (run outside the unit by the installer scripts,
which restart on their own) is unaffected.Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01BemAAwXorxyTYXS3kVxA67Downloads