komrad stop
Ask the running server to stop, and wait until it is gone
komrad stop [flags]This asks rather than signals, so the server can finish the launch it is in the middle of and say when it is done. It returns once the process has actually gone, not when the address stops answering, which happens well before the shutdown is finished. Nothing serving at the address is not an error.
Agents keep running: they are tmux panes, not children of this process. They are picked back up when the server returns.
With --agents, the server first makes every agent with a pane dormant onto the resume list, keeping any draft, and waits until their processes are gone. When that fails, the command names the agent and leaves the server running.
Flags#
| Flag | Type | Description |
|---|---|---|
--agents | bool | make every agent dormant and wait until its processes are gone before stopping |