1[Unit]
2Description=Reset host sensors
3Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4After=mapper-wait@-xyz-openbmc_project-state-host%i.service
5After=obmc-host-reset@%i.target
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/host%i` /xyz/openbmc_project/state/host%i 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/host%i` /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.OperatingSystem.Status OperatingSystemState s xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive"
13ExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host%i`  /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host RestartCause s xyz.openbmc_project.State.Host.RestartCause.Unknown"
14
15
16[Install]
17WantedBy=multi-user.target
18