# ed machines services stop

> ed machines services stop in the Edith ed command line reference. Stops one unit.

- Canonical URL: https://getedith.pro/docs/cli/machines-power/services-stop
- Updated: 2026-12-02

Stops one unit.

```
ed machines services stop <machine> <unit> [--json]
```

## Arguments

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<machine>` | machine name, ssh alias or id | required | Which machine the unit lives on. |
| `<unit>` | unit name | required | The unit, for example `nginx.service`. |

## Options

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--json` | flag | off | Emit JSON on stdout instead of the human line. |
| `--help`, `-h` | flag | off | Print the help for this command on stdout and exit 0. |

## `--json` shape

The same four keys, with `action` set to `stop`:

```json
{
  "action": "stop",
  "applied": true,
  "machine": "Devbox",
  "unit": "nginx.service"
}
```

## Examples

```
ed machines services stop devbox nginx.service
ed machines devbox services stop ollama.service
ed machines services stop devbox nginx.service --json
```

## Behaviour notes

The most disruptive command on this page that has no confirmation flag. Stopping
`ssh.service` on a machine you reach over SSH is the obvious way to lock
yourself out, and `ed` will not stop you.

The human success line is built by appending `ed` to the verb, so `stop` prints
`stoped nginx.service on Devbox`, with one `p`. Match on the JSON if you are
scripting against this, not on the prose.

Everything else matches `start`: same command shape with the verb swapped, same
60 second timeout, same failure handling and exit codes.

## Where to go next

- [`ed machines power`](https://getedith.pro/docs/cli/machines-power), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
