1*74d7a552SThang Tran[Unit] 2*74d7a552SThang TranDescription=Set Chassis state to transition to on 3*74d7a552SThang TranBefore=obmc-power-start@%i.service 4*74d7a552SThang TranWants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 5*74d7a552SThang TranAfter=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 6*74d7a552SThang TranConflicts=obmc-chassis-poweroff@%i.target 7*74d7a552SThang TranConditionPathExists=!/run/openbmc/chassis@%i-on 8*74d7a552SThang Tran 9*74d7a552SThang Tran[Service] 10*74d7a552SThang TranRestart=no 11*74d7a552SThang TranType=oneshot 12*74d7a552SThang TranSyslogIdentifier=phosphor-set-chassis-transition-to-on 13*74d7a552SThang TranExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/chassis%i` /xyz/openbmc_project/state/chassis%i xyz.openbmc_project.State.Chassis CurrentPowerState s xyz.openbmc_project.State.Chassis.PowerState.TransitioningToOn" 14*74d7a552SThang Tran 15*74d7a552SThang Tran[Install] 16*74d7a552SThang TranWantedBy=obmc-chassis-poweron@%i.target 17