Claude never saves trust for a home directory, so claude-remote.service now runs in ~/work, which tmpfiles makes and pre-trusts in .claude.json. Its status screen on stdout no longer floods the journal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4 files changed
+22
-7
No files matched your search
@@ -1,12 +1,18 @@
|
||||
# claude-remote.service runs Claude Code in the background, in the home of the
|
||||
# user agent, so it can be used from claude.ai/code or the Claude app.
|
||||
# claude-remote.service runs Claude Code in the background, in ~/work of the
|
||||
# user agent, so it can be used from claude.ai/code or the Claude app. Claude
|
||||
# never saves trust for a home directory, so it can't run in ~ itself.
|
||||
# claude-remote.path starts it once Claude is logged in. The user manager can't
|
||||
# wait for the network, so Restart= retries until it is up.
|
||||
#
|
||||
# Remote Control redraws its status screen on stdout every second, which would
|
||||
# flood the journal. Its errors go to stderr, which the journal keeps.
|
||||
[Unit]
|
||||
Description=Claude Code Remote Control
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=~
|
||||
WorkingDirectory=%h/work
|
||||
ExecStart=/usr/bin/claude remote-control --name %H
|
||||
StandardOutput=null
|
||||
StandardError=journal
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
Reference in new issue
Block a user