blob: 3da3cd6b597d490a525e35dedcefc03a5d007a9b [file] [log] [blame]
Matthew Barthec161282019-12-20 14:31:23 -06001[Unit]
2Description=Phosphor Power Regulators Config
Zev Weissd1307292022-04-19 17:13:28 -07003Requires=phosphor-regulators.service
4After=phosphor-regulators.service
Matthew Barthec161282019-12-20 14:31:23 -06005Wants=obmc-power-start-pre@0.target
6Before=obmc-power-start-pre@0.target
Andrew Geisslerbb1dfb62021-08-13 14:11:06 -04007Before=op-power-start@0.service
Matthew Barthec161282019-12-20 14:31:23 -06008Conflicts=obmc-chassis-poweroff@0.target
9# No need to run again if BMC reboots at runtime
10ConditionPathExists=!/run/openbmc/chassis@0-on
11
12[Service]
13Type=oneshot
14ExecStart=/usr/bin/regsctl config
15
16[Install]
17RequiredBy=obmc-chassis-poweron@0.target