blob: d6c1ae43c4fa9f3d9dab403b7fe73c0062c1dc4f [file] [log] [blame]
[Unit]
Description=Start Power%i
Wants=obmc-power-start@%i.target
Before=obmc-power-start@%i.target
After=obmc-power-start-pre@%i.target
After=obmc-fan-control.target
Wants=mapper-wait@-org-openbmc-control-power%i.service
After=mapper-wait@-org-openbmc-control-power%i.service
Conflicts=obmc-power-chassis-off@%i.target
[Service]
RemainAfterExit=yes
Type=oneshot
ExecStart={sbindir}/mapper call /org/openbmc/control/power%i org.openbmc.control.Power setPowerState i 1
[Install]
WantedBy=obmc-chassis-start@%i.target