[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74860] [PATCH 10/10] home: Add log rotation to ‘%base-home-services
From: |
Ludovic Courtès |
Subject: |
[bug#74860] [PATCH 10/10] home: Add log rotation to ‘%base-home-services’. |
Date: |
Fri, 13 Dec 2024 23:58:30 +0100 |
* 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> 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
- [bug#74860] [PATCH 04/10] services: unattended-upgrade: Rewrite as a Shepherd timer., (continued)
- [bug#74860] [PATCH 04/10] services: unattended-upgrade: Rewrite as a Shepherd timer., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 01/10] gnu: shepherd@1.0: Add dependency on gzip and zstd., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 05/10] services: Switch from mcron + Rottlog to Shepherd’s log rotation., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 02/10] services: Add ‘log-rotation-service-type’., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 03/10] services: log-cleanup: Rewrite as a Shepherd timer., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 08/10] home: services: Add log rotation service., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 09/10] home: Define ‘%base-home-services’., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 07/10] DRAFT news: Add entry for ‘rottlog-service-type’ deprecation., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 10/10] home: Add log rotation to ‘%base-home-services’.,
Ludovic Courtès <=
- [bug#74860] [PATCH 06/10] services: rottlog: Deprecate., Ludovic Courtès, 2024/12/13
- [bug#74860] [PATCH 00/10] Using the Shepherd's log rotation service, Ludovic Courtès, 2024/12/13