Skip to content

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.

Toggle “Start on login” on the Daemon screen in the app. It’s implemented per-user and requires no sudo:

PlatformMechanism
macOSA LaunchAgent at ~/Library/LaunchAgents/com.lattis.daemon.plist
LinuxA systemd user unit at ~/.config/systemd/user/com.lattis.daemon.service
WindowsA Scheduled Task triggered ONLOGON

When launched this way, the daemon writes its output to daemon.log in the data directory (see Configuration & Storage).

You don’t need launch-on-login to use Lattis — the app can start the daemon for you, or you can run it directly:

Terminal window
cd app && make rund # cargo run -p lattisd

From the app, toggle off “Start on login” (which also removes the OS entry), or stop the running daemon over the Control API:

Terminal window
curl -X POST http://127.0.0.1:1234/control/shutdown
Terminal window
curl http://127.0.0.1:1234/health # {"status":"ok"} when running