diff options
author | Christopher Baines <mail@cbaines.net> | 2019-05-18 21:58:40 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-06-10 07:58:06 +0100 |
commit | b09793172f59403779b01796be16b385b19b3345 (patch) | |
tree | 94088d1826564ef2bc2452bd2b98862137c647ef | |
parent | 47b9614b3110307093382363c0ba70d31f32ef59 (diff) | |
download | guix-b09793172f59403779b01796be16b385b19b3345.tar guix-b09793172f59403779b01796be16b385b19b3345.tar.gz |
services: guix-publish: Log to a file.
This makes it easier to read the output, as it's recorded in a file.
* gnu/services/base.scm (guix-publish-shepherd-service): Add #:log-file to
make-forkexec-constructor.
-rw-r--r-- | gnu/services/base.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index c88a6ddec6..5e46795a5a 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1824,7 +1824,8 @@ raise a deprecation warning if the 'compression-level' field was used." #:environment-variables (list (string-append "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") - "LC_ALL=en_US.utf8"))) + "LC_ALL=en_US.utf8") + #:log-file "/var/log/guix-publish.log")) (stop #~(make-kill-destructor)))))) (define %guix-publish-accounts |