CommandsService
city service stop
Stop a single service
city service stop
Stop a single service under a target agent.
Usage
city service stop <serviceName> [--agent <name> | --path <path>] [--host <host>] [--port <port>]Example
city service stop task --agent my-agentRelated commands
Example Output (Based on Current Implementation)
The examples below are aligned with current command implementations in package/src (including default output mode and field structure). Placeholder values are used for environment-specific fields.
$ city service stop task
{
"success": true,
"service": "task"
}$ city service stop task --agent missing-agent
{
"success": false,
"error": "Agent not found in console registry: missing-agent. Run \"city console agents\" to inspect names."
}