blob: d6f497bb7ab3148f3ce657b61e468e32a2a6470b [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
Andrew Geisslerec41db02023-01-26 14:43:45 -07009Wants=phosphor-reset-chassis-on@%i.service
10After=phosphor-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]
Andrew Geissler933bee72023-05-09 11:10:38 -050022#WantedBy=obmc-host-reset@%i.target