From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxEPZ-0007Lb-1p for guix-patches@gnu.org; Wed, 27 Sep 2017 11:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxEPT-0002bO-5x for guix-patches@gnu.org; Wed, 27 Sep 2017 11:38:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxEPT-0002bB-1x for guix-patches@gnu.org; Wed, 27 Sep 2017 11:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxEPR-000157-Vb for guix-patches@gnu.org; Wed, 27 Sep 2017 11:38:01 -0400 Subject: [bug#28619] [PATCH] doc: Fix rottlog configuration sample code. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxEOW-0006yF-T1 for guix-patches@gnu.org; Wed, 27 Sep 2017 11:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxEOR-0001un-2r for guix-patches@gnu.org; Wed, 27 Sep 2017 11:37:04 -0400 Received: from s02-out3.spamexperts.axc.nl ([185.175.203.26]:59227) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxEOQ-0001oL-QI for guix-patches@gnu.org; Wed, 27 Sep 2017 11:36:59 -0400 Received: from vserver42.axc.nl ([185.182.56.92]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dxEOA-0005X2-IN for guix-patches@gnu.org; Wed, 27 Sep 2017 17:36:48 +0200 Received: from mail.axc.nl ([185.182.56.42]:48462) by vserver42.axc.nl with esmtp (Exim 4.89) (envelope-from ) id 1dxEO8-0002LL-7Y for guix-patches@gnu.org; Wed, 27 Sep 2017 17:36:40 +0200 Date: Wed, 27 Sep 2017 17:36:34 +0200 (CEST) Message-Id: <20170927.173634.1543193873643657166.post@thomasdanckaert.be> From: Thomas Danckaert Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Sep_27_17_36_34_2017_301)--" Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28619@debbugs.gnu.org ----Next_Part(Wed_Sep_27_17_36_34_2017_301)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 ----Next_Part(Wed_Sep_27_17_36_34_2017_301)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-doc-Fix-rottlog-configuration-sample-code.patch" >From 46b54b38ceea9c1e20e68be6e2d1127b41a14e72 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert 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_Part(Wed_Sep_27_17_36_34_2017_301)----