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