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-26 17:40:03 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-03 12:57:36 +0000
commit5208dbd3b5dfbdfd29f567475ab81c524c1f999e (patch)
tree133d52ce889c34a8d12188007ce52df8131f57c4 /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host
parent4faabf42fbc0be6214d81e80ab321c837bdd7984 (diff)
downloadtalos-openbmc-5208dbd3b5dfbdfd29f567475ab81c524c1f999e.tar.gz
talos-openbmc-5208dbd3b5dfbdfd29f567475ab81c524c1f999e.zip
Ensure host-shutdown target calls the host-stop target
As a part of the soft power off (host-shutdown) ensure that the host-stop target always gets called. Updated the involved services to ensure they are run in the correct order. Change-Id: I7e9113631786f0d0cb0f89b94c4b97fdc0328e7b 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.service2
1 files changed, 2 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 aaba630f2..d1a814fd0 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
@@ -2,6 +2,8 @@
Description=Soft power off of the host
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
[Service]
Restart=no
OpenPOWER on IntegriCloud