blob: 3376c8a0274e093e05748ee914c9210f376aac56 [file] [log] [blame]
[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/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