blob: cae414f8abe512758020f377b3abc63fe2afa7a1 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Start Power%i
3Wants=obmc-power-start@%i.target
4Before=obmc-power-start@%i.target
5After=obmc-power-start-pre@%i.target
6After=obmc-fan-control.target
7Wants=mapper-wait@-org-openbmc-control-power%i.service
8After=mapper-wait@-org-openbmc-control-power%i.service
9Conflicts=obmc-chassis-stop@%i.target
10
11[Service]
12RemainAfterExit=yes
13ExecStart={sbindir}/mapper call /org/openbmc/control/power%i org.openbmc.control.Power setPowerState i 1
14
15[Install]
16WantedBy=obmc-chassis-start@%i.target