blob: ec3b6bda3eb33ee4e9bbf7168b19bb56a3b43993 [file] [log] [blame]
[Unit]
Description=Check Host%i status on BMC reset
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