GNU bug report logs -
#28619
[PATCH] doc: Fix rottlog configuration sample code.
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I believe the current example code for a basic rottlog-service does
not work. (mcron-service) requires an argument specifying the list of
jobs.
I think either (service mcron-service-type) or (mcron-service '())
would be ok. I use the former and attached patch updates the manual
in this way. Is that ok?
Thomas
[0001-doc-Fix-rottlog-configuration-sample-code.patch (text/x-patch, inline)]
From 46b54b38ceea9c1e20e68be6e2d1127b41a14e72 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert <at> gmail.com>
Date: Wed, 27 Sep 2017 17:31:31 +0200
Subject: [PATCH] doc: Fix rottlog configuration sample code.
* doc/guix.texi (Log Rotation): Correct code for the default mcron-service.
---
doc/guix.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 1356a357c..9fd99fd53 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9959,7 +9959,7 @@ with the default settings, for commonly encountered log files.
(operating-system
;; @dots{}
- (services (cons* (mcron-service)
+ (services (cons* (service mcron-service-type)
(service rottlog-service-type)
%base-services)))
@end lisp
--
2.14.1
This bug report was last modified 7 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.