logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Config::Model::Backend::Systemd - R/W backend for systemd configurations files

Author

       Dominique Dumont

Description

       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.

Name

       Config::Model::Backend::Systemd - R/W backend for systemd configurations files

Synopsis

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

Version

       version 0.257.2

See Also