1*1e8b164fSAndrew Geissler[Unit]
2*1e8b164fSAndrew GeisslerDescription=Set host state to transition to running
3*1e8b164fSAndrew GeisslerWants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4*1e8b164fSAndrew GeisslerAfter=mapper-wait@-xyz-openbmc_project-state-host%i.service
5*1e8b164fSAndrew GeisslerWants=obmc-host-start-pre@%i.target
6*1e8b164fSAndrew GeisslerBefore=obmc-host-start-pre@%i.target
7*1e8b164fSAndrew GeisslerConditionPathExists=!/run/openbmc/host@%i-on
8*1e8b164fSAndrew Geissler
9*1e8b164fSAndrew Geissler[Service]
10*1e8b164fSAndrew GeisslerRestart=no
11*1e8b164fSAndrew GeisslerType=oneshot
12*1e8b164fSAndrew GeisslerExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host%i` /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s xyz.openbmc_project.State.Host.HostState.TransitioningToRunning"
13*1e8b164fSAndrew Geissler
14*1e8b164fSAndrew Geissler[Install]
15*1e8b164fSAndrew GeisslerWantedBy=obmc-host-startmin@%i.target
16