blob: 89bc1f7e5f23f2eb35cd3da7311e83b485530584 [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