Clone this repo:

Branches

  1. 51ce6e3 use settings from persistent files if available by Andrew Geissler · 6 months ago master
  2. cb0f134 write service and socket values to file by Andrew Geissler · 6 months ago
  3. 67e4186 move srvcfg-mgr.json file to /var by Andrew Geissler · 6 months ago
  4. 0a95d91 meson: use non-deprecated systemd packageconfig by Patrick Williams · 3 months ago
  5. 6e04636 markdownlint: minor fixes by Patrick Williams · 4 months ago

Service config manager

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.

Design

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:

  • Determine if the service you want to control is socket activated.
  • To control the Running and Enabled properties of a service:
    • For a service which uses socket activation, control the socket.
    • For other services, control the service unit itself.