guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 06/06: services: cups: Support CUPS 2.3.3op2's LogFileGroup directive.
Date: Tue, 22 Jun 2021 21:27:52 -0400 (EDT)

nckx pushed a commit to branch core-updates
in repository guix.

commit c655bbb376d2dd73805cef344c496f6f77b22d0f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 23 02:32:46 2021 +0200

    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.
---
 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 4b33d5b..d9e6fe1 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 20e3917..13657e3 100644
--- a/gnu/services/cups.scm
+++ b/gnu/services/cups.scm
@@ -418,6 +418,9 @@ queues.  The URI @url{file:///dev/null} is always allowed.")
    (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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]