services: rottlog: Add /var/log/debug to '%default-rotations'.

* gnu/services/admin.scm (%rotated-files): Add "/var/log/debug".
This commit is contained in:
Ludovic Courtès 2018-03-22 11:18:26 +01:00
parent 4d7c5f6d7e
commit 7fe1432a2e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -92,7 +92,8 @@
(define %rotated-files (define %rotated-files
;; Syslog files subject to rotation. ;; Syslog files subject to rotation.
'("/var/log/messages" "/var/log/secure" "/var/log/maillog")) '("/var/log/messages" "/var/log/secure" "/var/log/debug"
"/var/log/maillog"))
(define %default-rotations (define %default-rotations
(list (log-rotation ;syslog files (list (log-rotation ;syslog files