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 | 579c8e0 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 17 | ExecStart=/bin/rm -f /run/openbmc/chassis@%i-on |
Andrew Geissler | 053a5f4 | 2017-05-01 12:46:57 -0500 | [diff] [blame] | 18 | ExecStart=/bin/rm -f /run/openbmc/host@%i-on |
Andrew Geissler | aa8daff | 2017-05-30 11:29:32 -0500 | [diff] [blame] | 19 | ExecStart=/bin/rm -f /run/openbmc/host@%i-request |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 20 | |
| 21 | [Install] |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 22 | WantedBy=obmc-host-stop@%i.target |