summaryrefslogtreecommitdiffstats
path: root/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service')
-rw-r--r--meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service b/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service
new file mode 100644
index 000000000..0179a5083
--- /dev/null
+++ b/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenPOWER OCC Active Disable
+Before=obmc-host-stop-pre@%i.target
+Conflicts=op-occ-enable@%i.service
+
+[Service]
+ExecStart=/usr/bin/env occ-active.sh disable
+SyslogIdentifier=occ-active.sh
+Type=oneshot
+
+[Install]
+WantedBy=obmc-host-stop@%i.target
OpenPOWER on IntegriCloud