| [Unit] |
| Description=CFAM reset |
| Wants=obmc-power-start-pre@0.target |
| Before=obmc-power-start-pre@0.target |
| Wants=obmc-host-start-pre@0.target |
| Before=obmc-host-start-pre@0.target |
| Before=fsi-scan@0.service |
| Before=cfam_override@0.service |
| Conflicts=obmc-host-stop@0.target |
| Conflicts=obmc-chassis-poweroff@0.target |
| ConditionPathExists=!/run/openbmc/mpreboot@0 |
| ConditionPathExists=!/run/openbmc/chassis@0-on |
| |
| [Service] |
| RemainAfterExit=yes |
| Type=oneshot |
| ExecStart=/usr/bin/openpower-proc-control cfamReset |
| |
| [Install] |
| # Will be installed in appropriate targets via bb files |