summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target')
-rw-r--r--meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target
new file mode 100644
index 0000000000..f087dea723
--- /dev/null
+++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target
@@ -0,0 +1,10 @@
+[Unit]
+Description=Host%i (Stopping)
+Wants={SYSTEMD_DEFAULT_TARGET}
+Wants=obmc-host-stop-pre@%i.target
+After=obmc-host-stop-pre@%i.target
+Before=obmc-host-stopped@%i.target
+Conflicts=obmc-host-startmin@%i.target
+Conflicts=obmc-host-starting@%i.target
+RefuseManualStart=yes
+RefuseManualStop=yes