diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-12-11 23:52:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-01-16 22:30:02 +0100 |
commit | a9f21036e43ffe4eeda2ae51b86e563c14509225 (patch) | |
tree | cd69e131ff2c8301ab3245c7cdde14bbd012b6b8 /gnu/services | |
parent | 6942161b44344a20435824c4816404a03da158f6 (diff) |
services: rottlog: Deprecate.
* gnu/services/admin.scm (rottlog-service-type): Deprecate.
* doc/guix.texi (Log Rotation): Add deprecation warning.
Change-Id: I661666ff3de64a69ff4f4982d7f432fd575c36df
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/admin.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm index f3331ae835..54a22d98dc 100644 --- a/gnu/services/admin.scm +++ b/gnu/services/admin.scm @@ -38,6 +38,7 @@ #:use-module (gnu system accounts) #:use-module ((gnu system shadow) #:select (account-service-type)) #:use-module ((guix store) #:select (%store-prefix)) + #:use-module (guix deprecation) #:use-module (guix gexp) #:use-module (guix modules) #:use-module (guix packages) @@ -334,12 +335,16 @@ for ROTATION." (or (rottlog-configuration-jobs config) (default-jobs (rottlog-configuration-rottlog config)))) -(define rottlog-service-type +;; TODO: Deprecated; remove sometime after 2025-06-15. +(define-deprecated rottlog-service-type + log-rotation-service-type (service-type (name 'rottlog) (description "Periodically rotate log files using GNU@tie{}Rottlog and GNU@tie{}mcron. -Old log files are removed or compressed according to the configuration.") +Old log files are removed or compressed according to the configuration. + +This service is deprecated and slated for removal after 2025-06-15.") (extensions (list (service-extension etc-service-type rottlog-etc) (service-extension mcron-service-type rottlog-jobs-or-default) |