blob: c2078873cbcf0626b500fafc4415c820eefa8c86 [file] [log] [blame]
[Unit]
Description=CFAM reset
Wants=obmc-power-on@0.target
After=obmc-power-on@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/host@0-on
[Service]
RemainAfterExit=yes
Type=oneshot
ExecStart=/usr/bin/openpower-proc-control cfamReset
[Install]
# Will be installed in appropriate targets via bb files