1c212353dSAndrew Geissler[Unit]
2c212353dSAndrew GeisslerDescription=Reset host sensors
3c212353dSAndrew GeisslerWants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4c212353dSAndrew GeisslerAfter=mapper-wait@-xyz-openbmc_project-state-host%i.service
50d1c3f1fSAndrew GeisslerAfter=obmc-host-reset@%i.target
6c212353dSAndrew GeisslerConditionPathExists=!/run/openbmc/host@%i-on
7c212353dSAndrew Geissler
8c212353dSAndrew Geissler[Service]
9c212353dSAndrew GeisslerRestart=no
10c212353dSAndrew GeisslerType=oneshot
11c212353dSAndrew GeisslerExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host0` /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Boot.Progress  BootProgress s xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified"
12c212353dSAndrew GeisslerExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host0` /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.OperatingSystem.Status OperatingSystemState s xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive"
13*828f874aSAndrew GeisslerExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host0`  /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host RestartCause s xyz.openbmc_project.State.Host.RestartCause.Unknown"
14*828f874aSAndrew Geissler
15c212353dSAndrew Geissler
16c212353dSAndrew Geissler[Install]
170d1c3f1fSAndrew GeisslerWantedBy=multi-user.target
18