Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start Power%i |
| 3 | Wants=obmc-power-start@%i.target |
| 4 | Before=obmc-power-start@%i.target |
| 5 | After=obmc-power-start-pre@%i.target |
| 6 | After=obmc-fan-control.target |
| 7 | Wants=mapper-wait@-org-openbmc-control-power%i.service |
| 8 | After=mapper-wait@-org-openbmc-control-power%i.service |
Andrew Geissler | fb7fa82 | 2017-01-26 08:07:15 -0600 | [diff] [blame] | 9 | Conflicts=obmc-power-chassis-off@%i.target |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 10 | |
| 11 | [Service] |
| 12 | RemainAfterExit=yes |
Andrew Geissler | 724486b | 2017-02-09 15:04:03 -0600 | [diff] [blame] | 13 | Type=oneshot |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 14 | ExecStart={sbindir}/mapper call /org/openbmc/control/power%i org.openbmc.control.Power setPowerState i 1 |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=obmc-chassis-start@%i.target |