Technical Manual sections
Reference › Technical Manual › Production
In production, Kitten runs as the kitten systemd user service, which the kitten deploy command writes to ~/.config/systemd/user/kitten.service and starts. The unit sets PRODUCTION=true, which changes how Kitten behaves in the ways listed in Kitten’s operating model.
This is how a production start goes:
Flowchart: A production start
The steps are described in these sections:
Launcher: runs the update guard while an update is pending.
Updates: what the update guard does, and how the server confirms an update.
Initialisation (asynchronous): what the Kitten Server does in production once it is listening.
Errors and restarts: when systemd starts Kitten again.
These commands manage the service: