midi-harbor/crates/service/src
James Coleman 57fe7ff53a fix(service): wait for launchd to drop the old job before loading the new
- Update now stopped the daemon and failed with "Bootstrap failed: 5: Input/output error" on macOS, leaving the agent's plist written and no job loaded. `launchctl bootout` returns once the daemon has been sent SIGTERM, and launchd refuses `bootstrap` until the daemon has exited and the job has left the domain.
- Installing or replacing the launchd agent now waits for the booted-out job to leave, for up to 25 seconds, which covers the 20 seconds launchd allows before SIGKILL.
- Starting the service now loads the agent's plist first when launchd does not hold the job, so the window's Start button and `service start` recover a registration left unloaded instead of failing in `kickstart`.
- The stand-in launchctl in the service lifecycle test returns from `bootout` while the daemon is still stopping and refuses `bootstrap` until it has gone, as launchd does, so `service install --start` over a running daemon pins the regression.
2026-10-04 08:43:28 -05:00
..
launchd.rs fix(service): wait for launchd to drop the old job before loading the new 2026-10-04 08:43:28 -05:00
lib.rs fix(appimage): install the desktop entry so the window gets its icon 2026-10-02 12:32:08 -05:00
supervisor.rs First commit 2026-09-28 13:59:10 -05:00
systemd.rs fix(service): stop the daemon before the rest of its systemd unit 2026-09-29 14:35:38 -05:00
taskscheduler.rs First commit 2026-09-28 13:59:10 -05:00