blob: abada7c98912f0b1e6d3faca55b5bed8464a596f [file] [log] [blame]
Andrew Geissler8e73da02021-06-23 15:43:21 -05001[Unit]
2Description=Check Host%i status on BMC reset via CFAM reg
Andrew Geissler971b36d2021-09-01 17:00:49 -05003Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4After=mapper-wait@-xyz-openbmc_project-state-host%i.service
Andrew Geisslerad1cfa52021-09-02 09:21:39 -05005Wants=mapper-wait@-xyz-openbmc_project-logging.service
6After=mapper-wait@-xyz-openbmc_project-logging.service
Andrew Geissler8e73da02021-06-23 15:43:21 -05007Wants=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
Adriana Kobylakbbb53392022-02-14 21:15:48 +000011After=openpower-update-bios-attr-table.service
Andrew Geissler8e73da02021-06-23 15:43:21 -050012Conflicts=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