[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/occ-active.sh enable
Type=oneshot

[Install]
WantedBy=obmc-host-start@%i.target