History

feat(connect): keep macOS hosts reachable after reboot

Theo Browne committed 3 months ago

Commit ec3c5f61 parent 90f391312 files · +690 −91Browse files

Showing the changes to docs/user (1 of 12 files). Show all

Unified · Split

docs/user/background-service.md+12−5
@@ -1,7 +1,14 @@
11 # Running T3 Code in the Background
22
3−On a Linux host, T3 Code can run as a background service for your user. It starts when the machine
4−boots and keeps running after you log out.
3+On macOS or Linux, T3 Code can run as a background service for your user. The simplest setup is:
4+
5+```sh
6+npx t3 connect
7+```
8+
9+After T3 Connect links the machine, accept the default background setup. T3 Code starts immediately
10+and returns automatically after a reboot. On macOS, the per-user LaunchAgent starts after you sign
11+in. On Linux, the systemd user service starts at boot and keeps running after you log out.
512
613 ## Manage the Service
714
@@ -33,10 +40,10 @@ Updating restarts T3 Code briefly. Let active agent work and terminal commands f · 25 unmodified lines
3340
3441 ## Using It with T3 Connect
3542
36−T3 Connect may offer to install the service during setup so the host stays reachable after you log
37−out. This is only an onboarding shortcut: the service and T3 Connect are managed separately.
43+T3 Connect offers to install the service during setup so the host starts automatically and stays
44+reachable in the background. The service and T3 Connect are still managed separately.
3845
3946 Signing out of T3 Connect does not remove the service. Use `t3 service uninstall` when you no longer
4047 want T3 Code to start in the background.
4148
42−The background service currently requires Linux with systemd.
49+The background service requires macOS with launchd or Linux with systemd.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t