1[Unit]
2Description=Reset host sensors
3After=phosphor-reset-host-check@%i.service
4Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service
5After=mapper-wait@-xyz-openbmc_project-state-host%i.service
6ConditionPathExists=!/run/openbmc/host@%i-on
7
8[Service]
9Restart=no
10Type=oneshot
11ExecStart=/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"
12ExecStart=/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
14[Install]
15WantedBy=obmc-host-reset@%i.target
16