Brad Bishop | 3c90f59 | 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 | 191400b | 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 | 3c90f59 | 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 | b57615e | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 10 | Conflicts=obmc-chassis-poweron@%i.target |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 11 | |
| 12 | [Service] |
| 13 | Type=oneshot |
| 14 | RemainAfterExit=yes |
Michael Tritz | fbd81be | 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 | 7dc1433 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 17 | ExecStart=/bin/rm -f /run/openbmc/chassis@%i-on |
Andrew Geissler | f9bba79 | 2017-05-01 12:46:57 -0500 | [diff] [blame] | 18 | ExecStart=/bin/rm -f /run/openbmc/host@%i-on |
Andrew Geissler | 82d4e11 | 2017-05-30 11:29:32 -0500 | [diff] [blame] | 19 | ExecStart=/bin/rm -f /run/openbmc/host@%i-request |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 20 | |
| 21 | [Install] |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 22 | WantedBy=obmc-host-stop@%i.target |