1[Unit] 2Description=Set Chassis state to transition to off 3Before=obmc-power-stop@%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-poweron@%i.target 7 8[Service] 9Restart=no 10Type=oneshot 11SyslogIdentifier=phosphor-set-chassis-transition-to-off 12ExecStart=/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.TransitioningToOff" 13 14[Install] 15WantedBy=obmc-chassis-poweroff@%i.target 16