| Chris Cain | 7bd6d14 | 2023-01-11 13:41:09 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=OpenPOWER OCC Active Enable for host %I | ||||
| 3 | Conflicts=obmc-host-stop@%i.target | ||||
| 4 | Conflicts=op-occ-disable@%i.service | ||||
| 5 | Wants=org.open_power.OCC.Control.service | ||||
| 6 | After=org.open_power.OCC.Control.service | ||||
| 7 | Wants=fsi-scan@%i.service | ||||
| 8 | After=fsi-scan@%i.service | ||||
| 9 | ConditionPathExists=/run/openbmc/host@%i-on | ||||
| 10 | |||||
| 11 | [Service] | ||||
| 12 | ExecStart=/usr/bin/occ-active.sh enable | ||||
| 13 | Type=oneshot | ||||
| 14 | |||||
| 15 | [Install] | ||||
| 16 | WantedBy=obmc-host-start@%i.target | ||||