summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-17 10:11:48 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-17 13:39:02 -0500
commit12566aabe739e84e3475e21346499683406f1b03 (patch)
tree230d8f36448d900b7965603f5c831070e0166ee6 /gnu/services
parent9c15252060ba1f4764375966afd3a62091f2b311 (diff)
downloadguix-12566aabe739e84e3475e21346499683406f1b03.tar.gz
services: cuirass: Also rotate the web log.
* gnu/services/cuirass.scm (cuirass-log-rotations): Add the web log to the
list of rotated files.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/cuirass.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 96f28a9670..d666d6243b 100644
--- a/gnu/services/cuirass.scm
+++ b/gnu/services/cuirass.scm
@@ -302,7 +302,8 @@
 (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