Stop a running cordon proxy. Finds the process listening on the configured port and sends SIGTERM.
Usage
Options
--config and --scope are mutually exclusive — passing both is an error. Omitting both defaults to project scope ($CWD/cordon.toml).
Examples
Behavior
- Reads the config file to determine the listen port.
- Checks if a process is listening on that port. If not, prints a warning and exits.
- Checks if the port is managed by an installed service. If so, refuses to stop and suggests using
cordon service stop instead.
- Verifies the process on the port is actually cordon before sending SIGTERM.
If cordon is running as an installed service, use cordon service stop instead — cordon stop will detect the service and point you there.