Andrew Geissler | 997ed66 | 2017-03-05 20:36:50 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Create file to indicate chassis%i pgood is on |
| 3 | After=obmc-power-reset-on@%i.target |
| 4 | Requires=obmc-power-reset-on@%i.target |
| 5 | After=op-reset-pgood-check@%i.service |
| 6 | Requires=op-reset-pgood-check@%i.service |
Josh D. King | b57615e | 2017-04-06 14:43:46 -0500 | [diff] [blame^] | 7 | Conflicts=obmc-chassis-poweroff@%i.target |
Andrew Geissler | 997ed66 | 2017-03-05 20:36:50 -0600 | [diff] [blame] | 8 | |
| 9 | [Service] |
| 10 | RemainAfterExit=no |
| 11 | Type=oneshot |
| 12 | ExecStart=/bin/sh -c "mkdir -p /run/openbmc/ && touch /run/openbmc/chassis@%i-on" |
| 13 | |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=obmc-chassis-reset@%i.target |