Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Wait for Power%i to turn off |
| 3 | Before=obmc-power-off@%i.target |
| 4 | Wants=obmc-power-stop@%i.target |
| 5 | Before=obmc-power-stop@%i.target |
Andrew Geissler | 5208dbd | 2017-05-26 17:40:03 -0500 | [diff] [blame] | 6 | Wants=obmc-power-stop-pre@%i.target |
| 7 | After=obmc-power-stop-pre@%i.target |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 8 | Wants=mapper-wait@-org-openbmc-control-power%i.service |
| 9 | After=mapper-wait@-org-openbmc-control-power%i.service |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 10 | Conflicts=obmc-chassis-poweron@%i.target |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 11 | |
| 12 | [Service] |
| 13 | Type=oneshot |
| 14 | RemainAfterExit=yes |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 15 | ExecStart=/usr/bin/env pgood_wait /org/openbmc/control/power%i off |
| 16 | SyslogIdentifier=pgood_wait |
Andrew Geissler | aa8daff | 2017-05-30 11:29:32 -0500 | [diff] [blame] | 17 | ExecStart=/bin/rm -f /run/openbmc/host@%i-request |
Andrew Geissler | 0a392ff | 2021-02-12 13:31:27 -0600 | [diff] [blame] | 18 | ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 19 | |
| 20 | [Install] |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 21 | WantedBy=obmc-host-stop@%i.target |