blob: 89bc1f7e5f23f2eb35cd3da7311e83b485530584 [file] [log] [blame]
Matthew Barthec161282019-12-20 14:31:23 -06001[Unit]
2Description=Phosphor Power Regulators Config
Zev Weissd1307292022-04-19 17:13:28 -07003Requires=phosphor-regulators.service
4After=phosphor-regulators.service
Matthew Barthec161282019-12-20 14:31:23 -06005Wants=obmc-power-start-pre@0.target
6Before=obmc-power-start-pre@0.target
Andrew Geissler3da879e2023-01-26 13:31:25 -07007Before=obmc-power-start@0.service
Matthew Barthec161282019-12-20 14:31:23 -06008Conflicts=obmc-chassis-poweroff@0.target
Shawn McCarneydc777fa2022-05-06 12:26:37 -05009# Should not run again if BMC reboots while host is running
Matthew Barthec161282019-12-20 14:31:23 -060010ConditionPathExists=!/run/openbmc/chassis@0-on
11
12[Service]
13Type=oneshot
Shawn McCarneydc777fa2022-05-06 12:26:37 -050014RemainAfterExit=yes
Matthew Barthec161282019-12-20 14:31:23 -060015ExecStart=/usr/bin/regsctl config
16
17[Install]
Andrew Geissler8c90f312023-05-09 14:04:15 -050018#RequiredBy=obmc-chassis-poweron@0.target