claude-rc/units/claude-rc@.service
Natalie a49ea98efd feat(@scripts): add claude-rc manager and crc launcher
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-07 11:20:35 -07:00

22 lines
778 B
Desktop File

[Unit]
Description=claude rc (Remote Control) server — %i
Documentation=man:claude(1)
After=network-online.target time-sync.target
Wants=network-online.target
[Service]
# Centrally managed by `claude-rc` (registry: ~/.config/claude-rc/projects).
# Direct under systemd (no tmux — a shared tmux server gets wiped). systemd +
# Linger give boot-persistence; Restart=always gives crash-recovery. The
# claude.ai/code URL lands in the journal: journalctl --user -u claude-rc@%i
Type=simple
Environment=PATH=%h/.local/bin:%h/.local/share/pnpm:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin
ExecStart=%h/.local/bin/claude-rc _run %i
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=claude-rc-%i
[Install]
WantedBy=default.target