services: cuirass: Also rotate the web log.

* gnu/services/cuirass.scm (cuirass-log-rotations): Add the web log to the
list of rotated files.
This commit is contained in:
Maxim Cournoyer 2022-02-17 10:11:48 -05:00
parent 9c15252060
commit 12566aabe7
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -302,7 +302,8 @@ (define (cuirass-activation config)
(define (cuirass-log-rotations config)
"Return the list of log rotations that corresponds to CONFIG."
(list (log-rotation
(files (list (cuirass-configuration-log-file config)))
(files (list (cuirass-configuration-log-file config)
(cuirass-configuration-web-log-file config)))
(frequency 'weekly)
(options '("rotate 40"))))) ;worth keeping