blob: 64e0e3bd449c18e38a295b817468ce9fe2eca625 [file] [log] [blame]
Andrew Geissler3a206592017-03-23 12:48:06 -05001[Unit]
2Description=Check Host%i status on BMC reset
Andrew Geisslercb6e19d2017-04-11 07:34:11 -05003# TODO: openbmc/openbmc#1274
4#Wants=mapper-wait@-xyz-openbmc_project-control-host%i.service
5#After=mapper-wait@-xyz-openbmc_project-control-host%i.service
Andrew Geissler3a206592017-03-23 12:48:06 -05006Wants=obmc-host-reset-running@%i.target
7Before=obmc-host-reset-running@%i.target
8Wants=op-reset-chassis-on@%i.service
9After=op-reset-chassis-on@%i.service
10Conflicts=obmc-stop-host@%i.target
11ConditionPathExists=/run/openbmc/chassis@%i-on
12
13[Service]
14RemainAfterExit=yes
15Type=oneshot
16ExecStart=/bin/sh -c "echo TODO - Check Host Status on BMC Reset"
17
18
19[Install]
20WantedBy=obmc-host-reset@%i.target