blob: 0d98974ab25fc9bcec41cc7a728abdc44bba71ba [file] [log] [blame]
[Unit]
Description=Check Host%i status on BMC reset
Wants=phosphor-ipmi-host.service
After=phosphor-ipmi-host.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