summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
diff options
context:
space:
mode:
authorJosh D. King <jdking@us.ibm.com>2017-04-11 09:48:10 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-04-20 15:43:47 +0000
commit75c387543505666728f4422d7a82050b2f75f0e2 (patch)
treee33cac88b4b15ae89192fecd37a4fe6003c48907 /meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
parentefb04a1963ee03f7db756cb33ae52f024ffda086 (diff)
downloadtalos-openbmc-75c387543505666728f4422d7a82050b2f75f0e2.tar.gz
talos-openbmc-75c387543505666728f4422d7a82050b2f75f0e2.zip
Refactor action target names Host-shutdown-quiesce
The target change is: obmc-stop-host -> obmc-host-shutdown obmc-quiesce-host -> obmc-host-quiesce Updated skeleton-rev.bbclass to have correct commit id. Change-Id: Ida47f8709622d98129c0fe00c86bad77d8d76dfb Signed-off-by: Josh D. King <jdking@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target')
-rw-r--r--meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target6
1 files changed, 6 insertions, 0 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
new file mode 100644
index 000000000..9e7defe69
--- /dev/null
+++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
@@ -0,0 +1,6 @@
+[Unit]
+Description=Power%i Host Off
+Wants={SYSTEMD_DEFAULT_TARGET}
+RefuseManualStop=yes
+OnFailure=obmc-host-stop@%i.target
+OnFailureJobMode=flush
OpenPOWER on IntegriCloud