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