blob: 0d98974ab25fc9bcec41cc7a728abdc44bba71ba [file] [log] [blame]
Andrew Geisslerc2123532020-01-14 10:39:47 -06001[Unit]
2Description=Check Host%i status on BMC reset
3Wants=phosphor-ipmi-host.service
4After=phosphor-ipmi-host.service
5Wants=obmc-host-reset-running@%i.target
6Before=obmc-host-reset-running@%i.target
7Wants=op-reset-chassis-on@%i.service
8After=op-reset-chassis-on@%i.service
9Conflicts=obmc-host-stop@%i.target
10ConditionPathExists=/run/openbmc/chassis@%i-on
11
12[Service]
13RemainAfterExit=yes
14Type=oneshot
15ExecStart=/usr/bin/phosphor-host-check
16
17[Install]
18WantedBy=obmc-host-reset@%i.target