fc4c29ff3f
The socket is /tmp/tmux-$UID, so orchestra-tmux.service and orchestra-worker.service must run as the same user or the worker talks to a different server. The installed unit has run as kami since before the split; the repo copy still said orchestra. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011xsXyr5J1RACo71YeKG3Pu
21 lines
554 B
Desktop File
21 lines
554 B
Desktop File
[Unit]
|
|
Description=Orchestra federation worker
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
# Ordering only, deliberately not Requires. The execution runtime owns the
|
|
# agent panes and must outlive a worker restart, and a worker that finds it
|
|
# missing has to report that rather than be stopped by it.
|
|
After=orchestra-tmux.service
|
|
Wants=orchestra-tmux.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=kami
|
|
EnvironmentFile=/etc/orchestra/worker.env
|
|
ExecStart=/usr/local/bin/orchestra-worker
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|