stado service remove
Invocation
stado service remove [OPTIONS] --host <HOST> <UNIT>Purpose
Remove a service entirely: withdraw its declaration, stop it, and delete its unit file from the host — the operation an operator means by "remove this service", which `retire` deliberately is not. The file path comes from the registry declaration, never from operator words. A host failure restores the declaration; a file-delete failure leaves the service retired and reports that partial state
Required inputs and options
| Input or option | Contract |
|---|---|
<UNIT> | launchd label or systemd unit name, as the host knows it |
--host <HOST> | Registry host that runs it |
--json | Command option; required or optional as shown in the invocation. |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
Refusals
- Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.