diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-07-25 21:03:32 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-07-26 00:47:06 +0300 |
commit | 0825ef48d6fba4c5507d4278f3d67fcf468397b1 (patch) | |
tree | 022e067018c985f12c0b251960c3f4e432a12eec /meta-phosphor/common | |
parent | 7019fbe4a3186361acb139b0ba776278d4b13ae8 (diff) | |
download | openbmc-0825ef48d6fba4c5507d4278f3d67fcf468397b1.tar.xz |
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')
-rw-r--r-- | meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target | 2 |
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 |