{"version":"2.1.328","anchor":"runner-cli-health-port-env-and-drainidle-help-fixed","canonical_anchor":"runner-cli-health-port-env-and-drainidle-help-fixed","heading":"Self-hosted runner help lists two environment variables and fixes swapped text","tier":"notice","area":"Self-Hosted Runner","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/runner-cli-health-port-env-and-drainidle-help-fixed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Self-hosted runner help lists two environment variables and fixes swapped text\n\nThe self-hosted runner's help now names environment variables for --health-port and --exit-if-unused-min, and two option descriptions are no longer swapped\n\n**What**\n\nA self-hosted runner is a machine you run yourself to carry out Claude Code work. Its help text has changed:\n\n- `--health-port` now lists `SELF_HOSTED_RUNNER_HEALTH_PORT` as an environment variable that sets the same thing.\n\n- `--exit-if-unused-min` now lists `SELF_HOSTED_RUNNER_IDLE_SHUTDOWN_MS`.\n\n- The descriptions for `--exit-if-unused-min` and `--drain-grace-sec` were in the wrong places and are now fixed.\n\nRemoving a runner from service now goes through a shared step.\n\n**Why**\n\nThe help now describes the options correctly, so you can set the health port and the idle shutdown with environment variables instead of command options.\n\n- Area: Self-Hosted Runner\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}