blob: 8ef5763b3db7dc24242bace8a3f365192c1093a8 [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
# 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