Skip to content

Commit 017a37a

Browse files
committed
docs(autostart): note when unclean shutdown states are likely to occur
Signed-off-by: Robert Esker <resker@gmail.com>
1 parent cf5abb4 commit 017a37a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

website/content/en/docs/usage/autostart.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ uses `Restart=on-failure`, so keep-alive is always enabled regardless of the fla
6565

6666
When Lima runs as a LaunchDaemon with `KeepAlive` enabled, launchd sends `SIGTERM` to the host
6767
agent during system shutdown. Depending on how far shutdown progresses before the host agent
68-
exits, the instance can enter one of two broken states on the next boot:
68+
exits, the instance can enter one of two broken states on the next boot. These are most likely
69+
after a hard reboot, power loss, or a fast `sudo shutdown` where launchd's process timeout
70+
expires before Lima finishes stopping the VM — not a sign of misconfiguration.
6971

7072
- **Orphaned VZ driver** — the host agent exits before it can stop the VM driver, leaving the
7173
driver process running with no host agent attached. Caused by launchd killing the host agent

0 commit comments

Comments
 (0)