Expand description
Machine-global loopback daemon ownership and state boundary.
Structs§
- Daemon
Options - Daemon
Ownership - Exclusive ownership of the machine-global runtime. The OS lock is released automatically on crash; state and credentials are removed on orderly drop.
Functions§
- run
- serve_
until - serve_
with_ shutdown_ requests shutdown_requestsis handed in as both ends: the receiver drains the runtime, and the sender is whatPOST /api/daemon/shutdownpulls on, so a request and a signal reach the same drain rather than two separate exits.