summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-08-26 12:18:52 +0100
committerChristopher Baines <mail@cbaines.net>2023-08-26 12:18:52 +0100
commit82b5e89d7880ac635ddbd471007ba1e2ec267060 (patch)
tree3267bfa498f3b95d8db90be8f435ca472a14f21b /gnu/services
parentaba7c73d048f5c6cc3cf78e0fd84fe407c847bc6 (diff)
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.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/guix.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm
index 8bcce30cde..e58c030ef3 100644
--- a/gnu/services/guix.scm
+++ b/gnu/services/guix.scm
@@ -698,6 +698,7 @@ ca-certificates.crt file in the system profile."
#: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 @@ ca-certificates.crt file in the system profile."
#$@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"