blob: c2078873cbcf0626b500fafc4415c820eefa8c86 [file] [log] [blame]
Andrew Geisslera0076682020-02-05 13:14:53 -06001[Unit]
2Description=CFAM reset
Andrew Geissler67aebf92020-04-10 15:45:50 -05003Wants=obmc-power-on@0.target
4After=obmc-power-on@0.target
5Wants=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 Geissler277bd0f2020-10-02 11:13:22 -050012ConditionPathExists=!/run/openbmc/host@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