Matthew Barth | ec16128 | 2019-12-20 14:31:23 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Phosphor Power Regulators Config |
Zev Weiss | d130729 | 2022-04-19 17:13:28 -0700 | [diff] [blame] | 3 | Requires=phosphor-regulators.service |
| 4 | After=phosphor-regulators.service |
Matthew Barth | ec16128 | 2019-12-20 14:31:23 -0600 | [diff] [blame] | 5 | Wants=obmc-power-start-pre@0.target |
| 6 | Before=obmc-power-start-pre@0.target |
Andrew Geissler | bb1dfb6 | 2021-08-13 14:11:06 -0400 | [diff] [blame] | 7 | Before=op-power-start@0.service |
Matthew Barth | ec16128 | 2019-12-20 14:31:23 -0600 | [diff] [blame] | 8 | Conflicts=obmc-chassis-poweroff@0.target |
| 9 | # No need to run again if BMC reboots at runtime |
| 10 | ConditionPathExists=!/run/openbmc/chassis@0-on |
| 11 | |
| 12 | [Service] |
| 13 | Type=oneshot |
| 14 | ExecStart=/usr/bin/regsctl config |
| 15 | |
| 16 | [Install] |
| 17 | RequiredBy=obmc-chassis-poweron@0.target |