Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

4 pages for --defer-shutdown-max-min.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Self-hosted environments Claude Code CLI · in the page self-hosted-environments …cribes, or keeps serving the sessions it already holds when you set [`--defer-shutdown-max-min`](/docs/en/self-hosted-environments-deploy#defer-the-drain-past-the-first-signal). If your infrastructure… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …It then begins a graceful shutdown, called a drain, unless you set [`--defer-shutdown-max-min`](#defer-the-drain-past-the-first-signal) to delay it. The drain has three steps: 1. The runner waits up… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …ens to disk for inspection. Debug only; don't use in production. | | `--defer-shutdown-max-min <n>` | `SELF_HOSTED_RUNNER_DEFER_SHUTDOWN_MAX_MS` | `0` | On the first `SIGTERM` or `SIGINT`, keep servin… Week 34 · August 17–21, 2026 Claude Code CLI · in the page whats-new/2026-w34 …r with `ListAgents`, as on macOS and LinuxSelf-hosted runners accept `--defer-shutdown-max-min`, which [keeps serving attached sessions](/docs/en/self-hosted-environments-deploy.md#defer-the-drain-pas…
Feedback