commit | 35349c0425252be529b37e908bbf7a1ab5b7f6fa | [log] [tgz] |
---|---|---|
author | Andrew Geissler <andrewg@us.ibm.com> | Wed May 31 20:28:23 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Sat Jun 03 12:57:46 2017 +0000 |
tree | 708373286ad99d2f130b8f34ef16b43183439b91 | |
parent | 82d4e1187e1a828d5db36d573e3640db79c7cc6c [diff] |
Ensure soft poweroff service stopped on host start There are some error scenarios where the soft poweroff application/service can get stuck waiting for the OS to shut down(45 min). If the user forces a power off and then powers back on, we just need to be sure to stop this service. Change-Id: I7518d5059cfab122f5ded86e9b66d01d2029508a Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service b/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service index 2f61b07..7aee76f 100644 --- a/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service +++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
@@ -4,6 +4,7 @@ After=mapper-wait@-org-openbmc-HostIpmi-1.service Wants=obmc-host-stopping@0.target Before=obmc-host-stopping@0.target +Conflicts=obmc-host-start@0.target ConditionPathExists=!/run/openbmc/host@0-request [Service]