Skip to content

Launch on Login

The Lattis background service runs independently of the app window. With launch-on-login enabled, it serves the API in the background while the machine is running. Open the app 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 service writes its output to daemon.log in the data directory (see Configuration & Storage).

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

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