xref: /openbmc/phosphor-power/services/phosphor-regulators-config.service (revision 8c90f319d579357e671c7ebbf8b845f680bb1aa2)
1ec16128cSMatthew Barth[Unit]
2ec16128cSMatthew BarthDescription=Phosphor Power Regulators Config
3d1307294SZev WeissRequires=phosphor-regulators.service
4d1307294SZev WeissAfter=phosphor-regulators.service
5ec16128cSMatthew BarthWants=obmc-power-start-pre@0.target
6ec16128cSMatthew BarthBefore=obmc-power-start-pre@0.target
73da879efSAndrew GeisslerBefore=obmc-power-start@0.service
8ec16128cSMatthew BarthConflicts=obmc-chassis-poweroff@0.target
9dc777fa2SShawn McCarney# Should not run again if BMC reboots while host is running
10ec16128cSMatthew BarthConditionPathExists=!/run/openbmc/chassis@0-on
11ec16128cSMatthew Barth
12ec16128cSMatthew Barth[Service]
13ec16128cSMatthew BarthType=oneshot
14dc777fa2SShawn McCarneyRemainAfterExit=yes
15ec16128cSMatthew BarthExecStart=/usr/bin/regsctl config
16ec16128cSMatthew Barth
17ec16128cSMatthew Barth[Install]
18*8c90f319SAndrew Geissler#RequiredBy=obmc-chassis-poweron@0.target
19