From c655bbb376d2dd73805cef344c496f6f77b22d0f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 23 Jun 2021 02:32:46 +0200 Subject: [PATCH] services: cups: Support CUPS 2.3.3op2's LogFileGroup directive. * gnu/services/cups.scm (): Add a log-file-group field. * doc/guix.texi (Printing Services): Document it. --- doc/guix.texi | 6 ++++++ gnu/services/cups.scm | 3 +++ 2 files changed, 9 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 4b33d5b2f7..d9e6fe1be5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -18463,6 +18463,12 @@ programs. Defaults to @samp{"lp"}. @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 Specifies the permissions for all log files that the scheduler writes. diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm index 20e3917b93..13657e36a7 100644 --- a/gnu/services/cups.scm +++ b/gnu/services/cups.scm @@ -418,6 +418,9 @@ (define-configuration files-configuration (string "lp") "Specifies the group name or ID that will be used when executing external programs.") + (log-file-group + (string "lpadmin") + "Specifies the group name or ID that will be used for log files.") (log-file-perm (string "0644") "Specifies the permissions for all log files that the scheduler writes.")