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 11After=openpower-update-bios-attr-table.service 12Conflicts=obmc-host-stop@%i.target 13ConditionPathExists=/run/openbmc/chassis@%i-on 14ConditionPathExists=!/run/openbmc/host@%i-on 15 16[Service] 17RemainAfterExit=yes 18Type=oneshot 19ExecStart=/usr/bin/openpower-proc-control checkHostRunning 20 21[Install] 22WantedBy=obmc-host-reset@%i.target 23