blob: 3f2258d989faaf1d9283c98018820acda533ea60 [file] [log] [blame]
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"`
}