From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YCt1GDO9XGfdggEAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Dec 2024 23:03:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YCt1GDO9XGfdggEAqHPOHw (envelope-from ) for ; Sat, 14 Dec 2024 00:03:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ZHBy5G9T; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ACZVJ4Bp; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734130995; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bUoICoOpEKI9Ty00oDEYOtqpsQCaJX2gDKMzvzk0kHk=; b=atCnsCwOmFCNaf1jTi3keC0QGLo4/AZ6kM/T9ilm5CVVKHltK/StcyEgULqUG670IfsPsi ws5DD0zemtp8gJR09x9BZhzmpx7CR6j2ra+t6w6/dOqDD9AHF+4P5kPG/dbB5GzdBeBWfE RiwR6phH/rfVLpSMJyqTbDUkSfP+xbmCvKv4068gThAeo4Lbk2IRhw0xwl4DGei/NsiXKx +dgXtJcg1PmtypaXiDAnvmz0qinKSduAy1yTzEWNFMdquUtHHMyMp6VHyT7t9HRL4yIonC vcQu64LMjGS7h7yPGBu/BY/GMW104rPgVEZ60OMbfrQF6rnK3G70PGPIJfKxJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ZHBy5G9T; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ACZVJ4Bp; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734130995; a=rsa-sha256; cv=none; b=LE34QRLL9jDnUhF2KU8BND2dok321NhA8RGZBlqgS/d30iO85plhwsWk/3yebjft5WJdoY RUd6vZ6/gyxhmQHEO8nTdelN1gUXv0Fh8cBBAlufkxPMwfchVR0Gald7UBELoJGhXd8XoF KSGZfsinABrDkwGRvO8JNNJDHl3q2eEIT3CYj7LnbGnAlxfKBnfPpwnvm2jqMtgZ1ghDMV c3291c0tOQ8gdfASpL5RsKUxZ8CxuND2WZ0PARLoCtHnwY0kVM9z//ekLz9MDYUXq5ok1b g1xtcYgZZh6a3tncC4QhQ3PJPAEDWlzXFjlPq+zM95IyLXQI/SbEFo6k+6f7Kg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 515F846CCE for ; Sat, 14 Dec 2024 00:03:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMEfr-00041Q-27; Fri, 13 Dec 2024 18:02:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMEff-0003xi-58 for guix-patches@gnu.org; Fri, 13 Dec 2024 18:02:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMEfe-0002m2-HL for guix-patches@gnu.org; Fri, 13 Dec 2024 18:02:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=bUoICoOpEKI9Ty00oDEYOtqpsQCaJX2gDKMzvzk0kHk=; b=ZHBy5G9TGPe7e5aiGlxnA3uC1yfuQE2xllPWy5hN/jRJNaie0ppac5rcx3KL79P34p8493sqv9wDkaRt82zTn+4w5vhbGy6gXnIIxc7r7NGGC8j0Vs+SEBhqG1ZAwCqqVIezIi2lqWVIpCRoLD0fqwNFm0PEVBtws4zOoWQxti3kXJdU7bM9mo3yNHSJGRin+XuhseBIX6tVUV19k1VVu9bTbkhLgYY1iwBkDBxrMMeLIXJ+gSyT5GhaIoS3W5kgLR9g6FNqeCmp6YZSD+K2FCKzeBFGjvPklyZPjsvuQVb7ZPI1GcsNTz+x6+0tAK+DuU4qIHnzSaOpCfPGyfG5Tw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMEfe-0001ZB-B4 for guix-patches@gnu.org; Fri, 13 Dec 2024 18:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74860] [PATCH 10/10] home: Add log rotation to =?UTF-8?Q?=E2=80=98%base-home-services=E2=80=99.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Fri, 13 Dec 2024 23:02:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74860 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74860@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , ( , Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer , Tanguy Le Carrour X-Debbugs-Original-Xcc: ( , Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer , Tanguy Le Carrour Received: via spool by 74860-submit@debbugs.gnu.org id=B74860.17341309165931 (code B ref 74860); Fri, 13 Dec 2024 23:02:06 +0000 Received: (at 74860) by debbugs.gnu.org; 13 Dec 2024 23:01:56 +0000 Received: from localhost ([127.0.0.1]:44587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMEfT-0001XU-QL for submit@debbugs.gnu.org; Fri, 13 Dec 2024 18:01:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMEfP-0001X0-C4 for 74860@debbugs.gnu.org; Fri, 13 Dec 2024 18:01:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMEdD-0001qE-QR; Fri, 13 Dec 2024 17:59:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=bUoICoOpEKI9Ty00oDEYOtqpsQCaJX2gDKMzvzk0kHk=; b=ACZVJ4BpNwgS0dLeE5OT Q1SZhopJwjQ3I7cUkeA9383RWTXJiwirknkQwLp2k8jueeMoQ+ruKTiF4jyS3q3WKRGbmH+xsAnuo IwDtgbolyv5Spb5LovuYVaugUeYpJ8e+qnhhJs28EEL1LjdmeYY43Ra5JGR87diWhVdldZkG99f8F gVLZztKOKcU4ps1l2orkrBPdGONNW7Nq82W7iU5c5VsNvtt9/iuyw92QWLTjaU7F+6az8/nuFzaBD Lm/9962+7wIObqop1GQlg8H11AFbLLk1hrSxdQcKPLTsF+uTV44Cf6tp1uOiztFuVbIHM1zwHI7kZ Bb8BeaML8Vs5JQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 13 Dec 2024 23:58:30 +0100 Message-ID: <8834c6924b7226d6e9cff867edc7121b44ccdd9f.1734129908.git.ludo@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.07 X-Spam-Score: -0.07 X-Migadu-Queue-Id: 515F846CCE X-TUID: JXN9p/WnnDDk * gnu/home.scm (%base-home-services): Add instance of ‘home-log-rotation-service-type’. * doc/guix.texi (Shepherd Home Service): Document it. Change-Id: I00a98da100e3a07fe409f3c44d8ab88e743a8e3e --- doc/guix.texi | 2 ++ gnu/home.scm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index adcae42523..ddb38a8040 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -46601,6 +46601,8 @@ Shepherd Home Service Its value must be a @code{log-rotation-configuration} record, exactly as for its system-wide counterpart. @xref{log-rotation-configuration}, for its reference. + +This service is part of @code{%base-home-services}. @end defvar @node Secure Shell diff --git a/gnu/home.scm b/gnu/home.scm index 042d2e67de..3b479f64f9 100644 --- a/gnu/home.scm +++ b/gnu/home.scm @@ -80,7 +80,7 @@ (define-record-type* home-environment (define %base-home-services ;; Non-essential but useful services to have by default. - '()) + (list (service home-log-rotation-service-type))) (define (home-environment-default-essential-services he) "Return the list of essential services for home environment." -- 2.46.0