Run and connect
Start a session
Section titled “Start a session”Both commands start Macaron:
macaron# ormacaron startMacaron first validates your sudo credentials, records the current system state, and then:
- enables macOS Remote Login;
- disables system sleep;
- brings Tailscale up;
- starts every enabled service that has a
.macaron/startfile; - prints the SSH command and each available service URL.
Services start alphabetically. Macaron assigns the first free TCP port at or above 49001 to each one.
Connect remotely
Section titled “Connect remotely”The terminal prints an SSH command similar to:
ssh your-user@100.x.y.zIt also prints an HTTP URL for every service that remains running after its startup check:
dashboard http://100.x.y.z:49001The remote device must belong to the same Tailscale network and be allowed by its access-control policy. A service must listen on the assigned port and on an address reachable through Tailscale, such as 0.0.0.0.
Stop safely
Section titled “Stop safely”Press Ctrl-C or send SIGTERM to the Macaron process. During shutdown Macaron:
- sends
SIGTERMto each managed service; - force-kills services that do not stop within one second;
- runs the cleanup script of every enabled service;
- removes
active-services.json; - restores the previous Remote Login, sleep, and Tailscale states.
Keep the terminal session running for as long as you need remote access. If Macaron exits because startup fails, its deferred cleanup still attempts to restore the captured system state.