services: guix-data-service: Specify a working directory.

Mostly so that core dumps end up here.

* gnu/services/guix.scm (guix-data-service-shepherd-services): Specify a
working directory.
This commit is contained in:
Christopher Baines 2023-08-26 12:18:52 +01:00
parent aba7c73d04
commit 82b5e89d78
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -698,6 +698,7 @@ (define (guix-data-service-shepherd-services config)
#:user #$user
#:group #$group
#:directory "/var/lib/guix-data-service"
#:pid-file "/var/run/guix-data-service/pid"
#:environment-variables
`(,(string-append
@ -717,6 +718,7 @@ (define (guix-data-service-shepherd-services config)
#$@extra-process-jobs-options)
#:user #$user
#:group #$group
#:directory "/var/lib/guix-data-service"
#:environment-variables
`("HOME=/var/lib/guix-data-service"
"GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt"