summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target
diff options
context:
space:
mode:
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