Created
June 8, 2026 15:37
-
-
Save diegofcornejo/cde7b52cc2b8434a0eb220dbdc6af9be to your computer and use it in GitHub Desktop.
Claude Code - Remote Control Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Claude Code Remote Control | |
| After=network-online.target | |
| Wants=network-online.target | |
| [Service] | |
| Type=forking | |
| User=claude | |
| WorkingDirectory=/home/claude/projects | |
| Environment="HOME=/home/claude" | |
| ExecStart=/usr/bin/tmux new-session -d -s claude '/bin/bash -c "echo y | /home/claude/.local/bin/claude remote-control"' | |
| ExecStop=-/usr/bin/tmux kill-session -t claude | |
| Restart=on-failure | |
| RestartSec=10 | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment