-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Machines Power Services Restart
github-actions[bot] edited this page Aug 17, 2026
·
3 revisions
Restarts one unit.
ed machines services restart <machine> <unit> [--json]
| 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. |
| 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. |
$ ed machines services restart tuf nginx.service
restarted nginx.service on Asus TUF 7
{
"action": "restart",
"applied": true,
"machine": "Asus TUF 7",
"unit": "nginx.service"
}ed machines services restart tuf nginx.service
ed machines tuf services restart docker.service
ed machines services restart tuf nginx.service --json
systemctl restart on a stopped unit starts it, so this is the verb to reach
for when you do not care what state the unit was in. The 60 second timeout is
the one to watch: a unit with a slow ExecStop can outlast it, and the command
then reports a failure for something that finishes fine a moment later.
Only start, stop and restart exist. There is no enable, disable,
reload, status or journal verb; for those, use the raw form,
ed tuf systemctl reload nginx or ed tuf journalctl -u nginx -n 100.
-
ed machines power, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides