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 @@
1# Running T3 Code in the Background1# Running T3 Code in the Background
2 2
3On a Linux host, T3 Code can run as a background service for your user. It starts when the machine3On macOS or Linux, T3 Code can run as a background service for your user. The simplest setup is:
4boots and keeps running after you log out.4
5```sh
6npx t3 connect
7```
8
9After T3 Connect links the machine, accept the default background setup. T3 Code starts immediately
10and returns automatically after a reboot. On macOS, the per-user LaunchAgent starts after you sign
11in. On Linux, the systemd user service starts at boot and keeps running after you log out.
5 12
6## Manage the Service13## Manage the Service
7 14
@@ -33,10 +40,10 @@ Updating restarts T3 Code briefly. Let active agent work and terminal commands f · 25 unmodified lines
33 40
34## Using It with T3 Connect41## Using It with T3 Connect
35 42
36T3 Connect may offer to install the service during setup so the host stays reachable after you log43T3 Connect offers to install the service during setup so the host starts automatically and stays
37out. This is only an onboarding shortcut: the service and T3 Connect are managed separately.44reachable in the background. The service and T3 Connect are still managed separately.
38 45
39Signing out of T3 Connect does not remove the service. Use `t3 service uninstall` when you no longer46Signing out of T3 Connect does not remove the service. Use `t3 service uninstall` when you no longer
40want T3 Code to start in the background.47want T3 Code to start in the background.
41 48
42The background service currently requires Linux with systemd.49The 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