chiark / gitweb /
logind: Support logind.conf.d directories in the usual search paths
authorJosh Triplett <josh@joshtriplett.org>
Wed, 29 Oct 2014 12:10:48 +0000 (05:10 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Nov 2014 00:11:37 +0000 (19:11 -0500)
commite8461023531de98ac6a49eff9d6ffeff6315249c
tree99230bec08ffa8c0c60a1c3c018833793b41140f
parent7f0a55d4325f7df91f91b3b818f61f97d78df14a
logind: Support logind.conf.d directories in the usual search paths

This makes it possible to drop in logind configuration snippets from a
package or other configuration management mechanism.

Add documentation to the header of /etc/logind.conf pointing the user at
/etc/logind.conf.d/*.conf.

Introduce a new helper, conf_parse_many, to parse configuration files in
a search path.
man/logind.conf.xml
src/login/logind.c
src/login/logind.conf
src/shared/conf-parser.c
src/shared/conf-parser.h