From cb6bc03cef3d4acc59f64ab8d628a8e208f6760d Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Wed, 31 May 2017 20:28:23 -0500 Subject: 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 --- .../xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-phosphor') 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] -- cgit v1.2.1