blob: 742fcadc75e6f7e82c2298457e57387d366ff198 [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=obmc-power-start@0.service
Conflicts=obmc-chassis-poweroff@0.target
# Should not run again if BMC reboots while host is running
ConditionPathExists=!/run/openbmc/chassis@0-on
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/regsctl config
[Install]
RequiredBy=obmc-chassis-poweron@0.target