History log of /openbmc/phosphor-state-manager/systemd_service_parser.hpp (Results 1 – 1 of 1)
Revision Date Author Comments
# 9e3afdf0 10-Feb-2022 Andrew Geissler <geissonator@yahoo.com>

crit-service: initial service and parsing

This is an initial commit in a series of commits that will introduce a
service monitoring feature within the current target monitoring
function.

This new f

crit-service: initial service and parsing

This is an initial commit in a series of commits that will introduce a
service monitoring feature within the current target monitoring
function.

This new feature will allow a user to pass in a json file with systemd
service names that they wish this function to monitor. If a monitored
services goes into an error state (exhausted all retries and service has
been stopped) then the monitor service will create an error and collect
appropriate debug data.

This commit focuses on defining the new json service file and adapting
the existing target monitor to take this file as input. Future commits
in this series will build on this.

Tested:
- Verified new service json could be input to application and it was
parsed correctly

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ifcc512b8fc868e2a1004a184fa50e4d4c826e8ee

show more ...