diff options
Diffstat (limited to 'meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service')
-rw-r--r-- | meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service new file mode 100644 index 000000000..b97253cf0 --- /dev/null +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service @@ -0,0 +1,17 @@ +[Unit] +Description=OpenPOWER OCC Active Enable for host %I +Conflicts=obmc-host-stop@%i.target +Conflicts=op-occ-disable@%i.service +Wants=org.open_power.OCC.Control.service +After=org.open_power.OCC.Control.service +Wants=fsi-scan@%i.service +After=fsi-scan@%i.service +ConditionPathExists=/run/openbmc/host@%i-on + +[Service] +ExecStart=/usr/bin/env occ-active.sh enable +SyslogIdentifier=occ-active.sh +Type=oneshot + +[Install] +WantedBy=obmc-host-start@%i.target |