blob: 3846568afd1f63b318d9e7af0afe2e40f4de2851 [file] [log] [blame]
package systemd
import "github.com/skia-dev/go-systemd/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"`
}