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.
This commit is contained in:
Christopher Baines 2019-05-18 21:58:40 +01:00
parent 47b9614b31
commit b09793172f
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1824,7 +1824,8 @@ (define (config->compression-options config)
#: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