blob: 50d1e903b7fb63d2ff7dfbe6b7274aa88aafd3b3 [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
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