1[Unit] 2Description=Set Chassis state to transition to on 3Before=obmc-power-start@%i.service 4Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 5After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 6Conflicts=obmc-chassis-poweroff@%i.target 7ConditionPathExists=!/run/openbmc/chassis@%i-on 8 9[Service] 10Restart=no 11Type=oneshot 12SyslogIdentifier=phosphor-set-chassis-transition-to-on 13ExecStart=/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 15[Install] 16WantedBy=obmc-chassis-poweron@%i.target 17