blob: 2193184942add3557344383839c9ee04c8326b39 [file] [log] [blame]
Matthew Barthec161282019-12-20 14:31:23 -06001[Unit]
2Description=Phosphor Power Regulators Config
3Wants=obmc-power-start-pre@0.target
4Before=obmc-power-start-pre@0.target
Andrew Geisslerbb1dfb62021-08-13 14:11:06 -04005Before=op-power-start@0.service
Matthew Barthec161282019-12-20 14:31:23 -06006Conflicts=obmc-chassis-poweroff@0.target
7# No need to run again if BMC reboots at runtime
8ConditionPathExists=!/run/openbmc/chassis@0-on
9
10[Service]
11Type=oneshot
12ExecStart=/usr/bin/regsctl config
13
14[Install]
15RequiredBy=obmc-chassis-poweron@0.target