diff options
| author | tv <tv@krebsco.de> | 2026-11-21 13:38:29 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-21 13:48:21 +0000 |
| commit | 2cfaf0b34f58253c816fe9e09e81168f9e3c2ee1 (patch) | |
| tree | e43db558c389503b1b4fcf8628bf61bf2df3bee0 /configs/rust.nix | |
| parent | 252c3ee08beac08417c346dd7eb0a06748150eac (diff) | |
configs/claude: remotes started with systemctl survive reboots
A remote started with systemctl start claude-remote-control@NAME, rather
than by multi-user.target's wants, now lasts until systemctl stop, across
reboots: while it's meant to run, it has a file of its name in
/home/.var/lib/claude/remote-control (the claude facet's part of what
would be in /var/lib, which is on the tmpfs, on the home drive; root's),
written when it starts (as root: ExecStartPre=+), and removed when it
stops, but not by a failure (it restarts) nor by a shutdown
(ExecStopPost=+, by SERVICE_RESULT and systemctl is-system-running). At
boot, claude-remote-control-restore starts them again, but for those
that are static by then, whose files it removes instead; static ones
never get one.
Diffstat (limited to 'configs/rust.nix')
0 files changed, 0 insertions, 0 deletions
