diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ab71eff3..486f60703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ release's per-component sections are labelled beneath its heading. ## [Unreleased] +### archied + +- Running `install.sh` over an install whose services are already running now restarts them, so they run the new binaries. + ## [1.57.0] - 2026-10-31 ### archied diff --git a/install.sh b/install.sh index d92847496..56dafa002 100755 --- a/install.sh +++ b/install.sh @@ -475,10 +475,12 @@ EOF fi # Auto-enable and start the services, the store first so a fresh boot does - # not race a dial it depends on. + # not race a dial it depends on. Restart rather than start, because a + # reinstall over running services would otherwise leave the old binaries + # running. if [ "${AUTO_START}" = true ]; then echo "==> Enabling and starting Archie services..." - systemctl --user enable --now $INSTANCE_UNITS || + { systemctl --user enable $INSTANCE_UNITS && systemctl --user restart $INSTANCE_UNITS; } || echo " Notice: Could not start every service automatically. Check: systemctl --user status ${INSTANCE_UNITS}" fi fi