hephaestus/crates/heph/src
Erich Blume 544c8bba0e C2(hephd-self-update): impl systemd Restart=always for clean-exit respawn
Self-restart works by exiting cleanly and letting the service manager
respawn the new binary. launchd already does this (KeepAlive=true), but
the systemd user unit was Restart=on-failure, which ignores a clean
exit (code 0). Switch to Restart=always + RestartSec=1, update the unit
test, and note in run-the-daemon that existing Linux installs must
`heph daemon restart` once to regenerate the unit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 13:44:36 -07:00
..
main.rs feat: heph context <task-id> reads/edits a task's context doc by id 2026-06-04 11:09:53 -07:00
service.rs C2(hephd-self-update): impl systemd Restart=always for clean-exit respawn 2026-06-04 13:44:36 -07:00