From: Thomas Danckaert <post@thomasdanckaert.be>
To: 28619@debbugs.gnu.org
Subject: [bug#28619] [PATCH] doc: Fix rottlog configuration sample code.
Date: Wed, 27 Sep 2017 17:36:34 +0200 (CEST) [thread overview]
Message-ID: <20170927.173634.1543193873643657166.post@thomasdanckaert.be> (raw)
[-- Attachment #1: Type: Text/Plain, Size: 319 bytes --]
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
[-- Attachment #2: 0001-doc-Fix-rottlog-configuration-sample-code.patch --]
[-- Type: Text/X-Patch, Size: 807 bytes --]
From 46b54b38ceea9c1e20e68be6e2d1127b41a14e72 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert@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
next reply other threads:[~2017-09-27 15:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 15:36 Thomas Danckaert [this message]
2017-09-28 20:10 ` [bug#28619] [PATCH] doc: Fix rottlog configuration sample code Ludovic Courtès
2017-09-30 17:26 ` bug#28619: " Thomas Danckaert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170927.173634.1543193873643657166.post@thomasdanckaert.be \
--to=post@thomasdanckaert.be \
--cc=28619@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.