summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-05-31 20:28:23 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-03 12:57:46 +0000
commitcb6bc03cef3d4acc59f64ab8d628a8e208f6760d (patch)
treeb5d1e074812f67a9df59cdd87e4c4c33eaaccf76 /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host
parentaa8daffd6b7ce409012cbc2b0fe2b3f98824f774 (diff)
downloadtalos-openbmc-cb6bc03cef3d4acc59f64ab8d628a8e208f6760d.tar.gz
talos-openbmc-cb6bc03cef3d4acc59f64ab8d628a8e208f6760d.zip
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>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
index 2f61b0757..7aee76f3f 100644
--- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
@@ -4,6 +4,7 @@ Wants=mapper-wait@-org-openbmc-HostIpmi-1.service
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]
OpenPOWER on IntegriCloud