summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-19 23:54:39 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-19 23:57:20 +0100
commitdc0ef095b32f57a935764d40530af0b32a01d715 (patch)
tree95f01c82d590bae7a02a7a5a0418621393873e78 /doc
parentf78903f36308081eeea52223fb3f5dca5096baef (diff)
downloadpatches-dc0ef095b32f57a935764d40530af0b32a01d715.tar
patches-dc0ef095b32f57a935764d40530af0b32a01d715.tar.gz
services: guix: Add 'log-file' configuration option.
* gnu/services/base.scm (<guix-configuration>)[log-file]: New field. (guix-shepherd-service): Pass #:log-file to 'make-forkexec-constructor'. * gnu/services/admin.scm (simple-rotation-config): Take a list of files and join them with commas. (%default-rotations): Add /var/log/guix-daemon.log. * doc/guix.texi (Base Services): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 7c37468cdf..bb96385f84 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8299,6 +8299,10 @@ The list of URLs where to look for substitutes by default.
@item @code{extra-options} (default: @code{'()})
List of extra command-line options for @command{guix-daemon}.
+@item @code{log-file} (default: @code{"/var/log/guix-daemon.log"})
+File where @command{guix-daemon}'s standard output and standard error
+are written.
+
@item @code{lsof} (default: @var{lsof})
The lsof package to use.