Clone this repo:

Branches

  1. 4fdc17f clang-tidy: Initial commit by Jayanth Othayoth · 14 days ago master
  2. 735c614 clang-tidy: remove/mark unused const by Jayanth Othayoth · 14 days ago
  3. b35f7fc copy and delete srvcfg-mgr.json file instead of rename by Andrew Geissler · 3 months ago
  4. 4d4afc3 ensure persistent settings only used on startup by Andrew Geissler · 4 months ago
  5. 51ce6e3 use settings from persistent files if available by Andrew Geissler · 8 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.