blob: 8ef5763b3db7dc24242bace8a3f365192c1093a8 [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 Geisslerbb1dfb62021-08-13 14:11:06 -04007Before=op-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]
18RequiredBy=obmc-chassis-poweron@0.target