services: guix: Add 'log-file' configuration option.
commitdc0ef095b32f57a935764d40530af0b32a01d715
authorLudovic Courtès <ludo@gnu.org>
Mon, 19 Dec 2016 22:54:39 +0000 (19 23:54 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 19 Dec 2016 22:57:20 +0000 (19 23:57 +0100)
tree95f01c82d590bae7a02a7a5a0418621393873e78
parentf78903f36308081eeea52223fb3f5dca5096baef
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.
doc/guix.texi
gnu/services/admin.scm
gnu/services/base.scm