Add dependency to the chassis state service
On startup, the service attempts to read the PGOOD property
to know if the system is already on. For that to work, the
org.openbmc.Control.Power service must already be running,
so ensure that is the case.
Having this check working right allows the code to know if
there was an AC loss while booted.
Resolves openbmc/openbmc#3266
Tested: Check that the service knows power is on when rebooted
at runtime.
Change-Id: I1314865609ecdf3765603f8bd8ed1add6888e558
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed