blob: 3da3cd6b597d490a525e35dedcefc03a5d007a9b [file] [log] [blame]
[Unit]
Description=Phosphor Power Regulators Config
Requires=phosphor-regulators.service
After=phosphor-regulators.service
Wants=obmc-power-start-pre@0.target
Before=obmc-power-start-pre@0.target
Before=op-power-start@0.service
Conflicts=obmc-chassis-poweroff@0.target
# No need to run again if BMC reboots at runtime
ConditionPathExists=!/run/openbmc/chassis@0-on
[Service]
Type=oneshot
ExecStart=/usr/bin/regsctl config
[Install]
RequiredBy=obmc-chassis-poweron@0.target