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.
master
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
1 changed files with 2 additions and 1 deletions

View File

@ -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