1[Unit] 2Description=Check Host%i status on BMC reset via CFAM reg 3After=phosphor-reset-host-check@%i.service 4Wants=obmc-host-reset-running@%i.target 5Before=obmc-host-reset-running@%i.target 6Wants=op-reset-chassis-on@%i.service 7After=op-reset-chassis-on@%i.service 8Conflicts=obmc-host-stop@%i.target 9ConditionPathExists=/run/openbmc/chassis@%i-on 10ConditionPathExists=!/run/openbmc/host@%i-on 11 12[Service] 13RemainAfterExit=yes 14Type=oneshot 15ExecStart=/usr/bin/openpower-proc-control checkHostRunning 16 17[Install] 18WantedBy=obmc-host-reset@%i.target 19