The CLI is the human interface. It communicates with the daemon via IPC and dispatches commands using structured messages.
Commands
| Command | IPC Action | Purpose |
|---|---|---|
start | start | Start a unit |
stop | stop | Stop a unit |
show | show | Display unit/state info |
reload-units | reload_units | Reload unit configs |
logout | logout | End user session |
su | run0 | Escalate privileges |
permission | grant_permission / revoke_permission | Manage permissions |
invoke | (user-provided) | Send arbitrary action |
scope | create_scope / destroy_scope | Manage scopes |
soft-reboot | soft_reboot | Soft-reboot the daemon |
reboot | reboot | Reboot the system |
shutdown | shutdown | Shut down the system |
Command Details
Each command maps to one or more IPC actions:
rind start <name>: sends astartrequest of a specified typerind stop <name>: sends astoprequest of a specified typerind show <name>: sendsshow, returns unit metadata and current staterind reload-units: sendsreload_units, triggers a Collect cyclerind su <cmd>: sendsrun0, escalates via privilege runtimerind logout: sendslogout, ends the current sessionrind permission grant/revoke/show ...: manages ACL entriesrind scope create/destroy ...: manages runtime scopesrind soft-reboot: sendssoft_reboot, restarts runtime without exitingrind reboot/rind shutdown: system-level power operations
See also: IPC, Transports, Runtimes