blob: 07fc69f028cdc1cdf0aa89199ec9e12a8b1e6f85 [file] [log] [blame]
Andrew Geisslera0076682020-02-05 13:14:53 -06001[Unit]
2Description=CFAM reset
Andrew Geissler31228b92020-12-02 13:42:50 -06003Wants=obmc-power-start-pre@0.target
4Before=obmc-power-start-pre@0.target
Andrew Geissler67aebf92020-04-10 15:45:50 -05005Wants=obmc-host-start-pre@0.target
6Before=obmc-host-start-pre@0.target
7Before=fsi-scan@0.service
8Before=cfam_override@0.service
9Conflicts=obmc-host-stop@0.target
10Conflicts=obmc-chassis-poweroff@0.target
Dhruvaraj Subhashchandranb09c1fb2020-03-09 00:45:26 -050011ConditionPathExists=!/run/openbmc/mpreboot@0
Andrew Geissler26c4d762021-03-11 18:17:45 -060012ConditionPathExists=!/run/openbmc/chassis@0-on
Andrew Geisslera0076682020-02-05 13:14:53 -060013
14[Service]
15RemainAfterExit=yes
16Type=oneshot
17ExecStart=/usr/bin/openpower-proc-control cfamReset
18
19[Install]
Andrew Geissler67aebf92020-04-10 15:45:50 -050020# Will be installed in appropriate targets via bb files