1[Unit]
2Description=Phosphor Power Regulators Config
3Requires=phosphor-regulators.service
4After=phosphor-regulators.service
5Wants=obmc-power-start-pre@0.target
6Before=obmc-power-start-pre@0.target
7Before=obmc-power-start@0.service
8Conflicts=obmc-chassis-poweroff@0.target
9# Should not run again if BMC reboots while host is running
10ConditionPathExists=!/run/openbmc/chassis@0-on
11
12[Service]
13Type=oneshot
14RemainAfterExit=yes
15ExecStart=/usr/bin/regsctl config
16
17[Install]
18RequiredBy=obmc-chassis-poweron@0.target
19