summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-07-25 13:03:32 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-07-25 21:47:06 +0000
commit0825ef48d6fba4c5507d4278f3d67fcf468397b1 (patch)
tree022e067018c985f12c0b251960c3f4e432a12eec /meta-phosphor/common/recipes-core
parent7019fbe4a3186361acb139b0ba776278d4b13ae8 (diff)
downloadtalos-openbmc-0825ef48d6fba4c5507d4278f3d67fcf468397b1.tar.gz
talos-openbmc-0825ef48d6fba4c5507d4278f3d67fcf468397b1.zip
Ensure chassis-poweroff called on shutdown errors
With the recent refactor to the shutdown targets, need to ensure the obmc-chassis-poweroff target is called if the host-shutdown times out so that the system properly shuts down Resolves openbmc/openbmc#2027 Change-Id: I8b1374611776a4027beaa7646862dc4be51df838 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r--meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
index 9e7defe69..4768a567f 100644
--- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
+++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
@@ -2,5 +2,5 @@
Description=Power%i Host Off
Wants={SYSTEMD_DEFAULT_TARGET}
RefuseManualStop=yes
-OnFailure=obmc-host-stop@%i.target
+OnFailure=obmc-chassis-poweroff@%i.target
OnFailureJobMode=flush
OpenPOWER on IntegriCloud