blob: 19b217e83548d937654ba04d8436176e4ed9a2e6 [file] [log] [blame]
[Unit]
Description=Check Host%i status on BMC reset
After=phosphor-ipmi-host.service
After=pldmd.service
Wants=obmc-host-reset-running@%i.target
Before=obmc-host-reset-running@%i.target
Wants=op-reset-chassis-on@%i.service
After=op-reset-chassis-on@%i.service
Conflicts=obmc-host-stop@%i.target
ConditionPathExists=/run/openbmc/chassis@%i-on
[Service]
RemainAfterExit=yes
Type=oneshot
ExecStart=/usr/bin/phosphor-host-check
[Install]
WantedBy=obmc-host-reset@%i.target