services: cups: Support CUPS 2.3.3op2's LogFileGroup directive.

* gnu/services/cups.scm (<files-configuration>): Add a log-file-group
field.
* doc/guix.texi (Printing Services): Document it.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-23 02:32:46 +02:00
parent e02123bd94
commit c655bbb376
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
2 changed files with 9 additions and 0 deletions

View file

@ -18463,6 +18463,12 @@ programs.
Defaults to @samp{"lp"}. Defaults to @samp{"lp"}.
@end deftypevr @end deftypevr
@deftypevr {@code{files-configuration} parameter} string log-file-group
Specifies the group name or ID that will be used for log files.
Defaults to @samp{"lpadmin"}.
@end deftypevr
@deftypevr {@code{files-configuration} parameter} string log-file-perm @deftypevr {@code{files-configuration} parameter} string log-file-perm
Specifies the permissions for all log files that the scheduler writes. Specifies the permissions for all log files that the scheduler writes.

View file

@ -418,6 +418,9 @@ (define-configuration files-configuration
(string "lp") (string "lp")
"Specifies the group name or ID that will be used when executing external "Specifies the group name or ID that will be used when executing external
programs.") programs.")
(log-file-group
(string "lpadmin")
"Specifies the group name or ID that will be used for log files.")
(log-file-perm (log-file-perm
(string "0644") (string "0644")
"Specifies the permissions for all log files that the scheduler writes.") "Specifies the permissions for all log files that the scheduler writes.")