systemd · Example Payload

Systemd1 Startunit Example

Request and response for starting a unit via the systemd Manager. The Manager enqueues a job and returns the job's D-Bus object path.

BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen SourcePID 1Service ManagerSystemSystemdVarlink

Systemd1 Startunit Example is an example object payload from systemd, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionrequestresponse

Example Payload

Raw ↑
{
  "operation": "StartUnit",
  "description": "Request and response for starting a unit via the systemd Manager. The Manager enqueues a job and returns the job's D-Bus object path.",
  "request": {
    "name": "nginx.service",
    "mode": "replace"
  },
  "response": {
    "path": "/org/freedesktop/systemd1/job/4711"
  }
}