6d20c321d6
The repair branch in `systemd_install()` exits as soon as it rewrites an outdated unit and re-runs `systemctl enable`, bypassing `_ensure_linger_enabled()`. On headless Linux the command reports success, but the repaired user service still stops at logout. Call `_ensure_linger_enabled()` before the early return when the install is user-scoped, mirroring what the fresh-install path already does. Adds two regression tests in `tests/hermes_cli/test_gateway_linger.py`: - repair path (user scope) calls the linger helper - repair path (system scope) does not call it