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 |
Shawn McCarney | dc777fa | 2022-05-06 12:26:37 -0500 | [diff] [blame] | 9 | # Should not run again if BMC reboots while host is running |
Matthew Barth | ec16128 | 2019-12-20 14:31:23 -0600 | [diff] [blame] | 10 | ConditionPathExists=!/run/openbmc/chassis@0-on |
| 11 | |
| 12 | [Service] |
| 13 | Type=oneshot |
Shawn McCarney | dc777fa | 2022-05-06 12:26:37 -0500 | [diff] [blame] | 14 | RemainAfterExit=yes |
Matthew Barth | ec16128 | 2019-12-20 14:31:23 -0600 | [diff] [blame] | 15 | ExecStart=/usr/bin/regsctl config |
| 16 | |
| 17 | [Install] |
| 18 | RequiredBy=obmc-chassis-poweron@0.target |