blob: 7c9a05c8fa28e07cccd1520bc526e2ac5f9d5d31 [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
Josh D. King3c7a8ef2017-04-11 09:48:10 -050010Conflicts=obmc-host-shutdown@%i.target
Andrew Geissler3a206592017-03-23 12:48:06 -050011ConditionPathExists=/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