commit | aa41e674c2d2119fbabe4e0d6569a493163f337f | [log] [tgz] |
---|---|---|
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | Tue Dec 14 15:14:30 2021 +0800 |
committer | Jiaqing Zhao <jiaqing.zhao@intel.com> | Mon Feb 28 06:28:23 2022 +0000 |
tree | b695b0de8c2d484b77f15680e9cc133cfd819603 | |
parent | 25a0f634cd7dd209d58bf326a41d7bfd51a7eda3 [diff] |
Support reading socket-only systemd unit info Current code will only read unit info like unit name and instance name from service unit. For socket-only unit, these fields are blank. This patch adds support to read these fields from socket units. Tested: 1. Existing entries in generated srvcfg-mgr.json is the same as before 2. Unit and instance name of socket-only units can be successfully read Change-Id: Ibb4d75231f1767f2164d95294e126dd649d466f0 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
The service config manager provides a D-Bus interface to manage BMC services as described by the service management D-Bus interfaces.
The configuration settings are intended to persist across BMC reboots.
An example use case for this service is BMCWeb's implementation of the Redfish NetworkProtocol schema.
Implementation details are described in the D-Bus interface README.
The service config manager generally makes configuration changes to systemd
units via D-Bus interfaces.
The design pattern to add new services or controls is:
Running
and Enabled
properties of a service: