package systemd | |
import "github.com/coreos/go-systemd/v22/dbus" | |
// UnitStatus describes the status of a single systemd service. | |
// | |
// It is serialized to/from JSON between push and pulld. | |
type UnitStatus struct { | |
// Status is the current status of the unit. | |
Status *dbus.UnitStatus `json:"status"` | |
// Props is the set of unit properties returned from dbus.GetUnitTypeProperties. | |
Props map[string]interface{} `json:"props"` | |
} |