Launch on Login
The Lattis daemon (lattisd) runs independently of the desktop app. With
launch-on-login enabled, it serves the API 24/7 — the app only needs to be open
when you want to manage models or providers.
Enable it
Section titled “Enable it”Toggle “Start on login” on the Daemon screen in the app. It’s implemented
per-user and requires no sudo:
| Platform | Mechanism |
|---|---|
| macOS | A LaunchAgent at ~/Library/LaunchAgents/com.lattis.daemon.plist |
| Linux | A systemd user unit at ~/.config/systemd/user/com.lattis.daemon.service |
| Windows | A Scheduled Task triggered ONLOGON |
When launched this way, the daemon writes its output to daemon.log in the data
directory (see Configuration & Storage).
Running the daemon manually
Section titled “Running the daemon manually”You don’t need launch-on-login to use Lattis — the app can start the daemon for you, or you can run it directly:
cd app && make rund # cargo run -p lattisdStopping it
Section titled “Stopping it”From the app, toggle off “Start on login” (which also removes the OS entry), or stop the running daemon over the Control API:
curl -X POST http://127.0.0.1:1234/control/shutdownVerifying
Section titled “Verifying”curl http://127.0.0.1:1234/health # {"status":"ok"} when running