diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-07-31 23:35:27 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-01 00:02:04 +0200 |
commit | 7d0ebc467ff2a76b75ef0817ac24af4b22c0ab8e (patch) | |
tree | 73ac946002cfc9fe983ec6da38dc945682ed460c /doc/guix.texi | |
parent | 4de445f3dae5f5b42d59003cceddecfb296fb73b (diff) | |
download | guix-7d0ebc467ff2a76b75ef0817ac24af4b22c0ab8e.tar.gz |
services: rottlog: More convenient default options for <log-rotation>.
* gnu/services/admin.scm (%default-log-rotation-options): New variable. (%default-rotations): Use it. * gnu/services/cuirass.scm (cuirass-log-rotations): Likewise. * doc/guix.texi (Log Rotation): Adjust accordingly.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 6e867839a4..271aad32f0 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -18811,9 +18811,10 @@ The log rotation frequency, a symbol. @item @code{files} The list of files or file glob patterns to rotate. -@item @code{options} (default: @code{'()}) +@vindex %default-log-rotation-options +@item @code{options} (default: @code{%default-log-rotation-options}) The list of rottlog options for this rotation (@pxref{Configuration -parameters,,, rottlog, GNU Rot[t]lg Manual}). +parameters,,, rottlog, GNU Rot[t]log Manual}). @item @code{post-rotate} (default: @code{#f}) Either @code{#f} or a gexp to execute once the rotation has completed. |