Config::Model::Backend::Systemd(3pm)

Config::Model::Backend::Systemd3pm

R/w backend for systemd configurations files

Usage

 # in systemd model
 rw_config => {
     'backend' => 'Systemd'
 }

Version

version 0.257.2

Overview

Config::Model::Backend::Systemd provides a plugin class to enable Config::Model to read and write systemd configuration files. This class inherits Config::Model::Backend::Any is designed to be used by Config::Model::BackendMgr.

Methods

read

This method scans systemd default directory and systemd config directory to create all units in Config::Model tree. The actual configuration parameters are read by Config::Model::Backend::Systemd::Unit.

write

This method is a bit of a misnomer. It deletes configuration files of deleted service.

The actual configuration parameters are written by Config::Model::Backend::Systemd::Unit.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Dominique Dumont

From libconfig-model-systemd-perl 0.257.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.