mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
services: guix-publish: Keep fewer rotated logs.
* gnu/services/base.scm (%guix-publish-log-rotations): Add 'options' field.
This commit is contained in:
parent
ac682963a3
commit
9ccc94afb2
1 changed files with 3 additions and 1 deletions
|
@ -2016,7 +2016,9 @@ (define %guix-publish-accounts
|
|||
|
||||
(define %guix-publish-log-rotations
|
||||
(list (log-rotation
|
||||
(files (list "/var/log/guix-publish.log")))))
|
||||
(files (list "/var/log/guix-publish.log"))
|
||||
(options `("rotate 4" ;don't keep too many of them
|
||||
,@%default-log-rotation-options)))))
|
||||
|
||||
(define (guix-publish-activation config)
|
||||
(let ((cache (guix-publish-configuration-cache config)))
|
||||
|
|
Loading…
Reference in a new issue