# claude-remote.path starts claude-remote.service once Claude is logged in. # It runs in the user manager of agent, which linger starts at boot # (mkosi.extra/usr/lib/tmpfiles.d/agent.conf). ConditionUser keeps it out of # the user manager of root. [Unit] Description=Start Claude Remote Control once logged in ConditionUser=agent [Path] PathExists=%h/.claude/.credentials.json [Install] WantedBy=default.target