summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-10-27 11:13:46 +0100
committerLudovic Courtès <ludo@gnu.org>2020-10-27 18:00:28 +0100
commite86c2f058aac730b407bd128782d3627f71c0fa7 (patch)
tree2b124b68540266888c3292311f39deef28b5d61f /gnu/services
parentf0c609323e583c075e1af4329d4d9d84befeba52 (diff)
services: hpcguix-web: Set 'XDG_CACHE_HOME' to a writable directory.
* gnu/services/web.scm (hpcguix-web-shepherd-service): Change XDG_CACHE_HOME to /var/cache/guix/web. Previously, the authentication code would try to write to /var/cache/guix/authentication, which would fail.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/web.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index a74c6c54b4..2384ec691c 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -1134,7 +1134,7 @@ a webserver.")
#:user "hpcguix-web"
#:group "hpcguix-web"
#:environment-variables
- (list "XDG_CACHE_HOME=/var/cache"
+ (list "XDG_CACHE_HOME=/var/cache/guix/web"
"SSL_CERT_DIR=/etc/ssl/certs")
#:log-file #$%hpcguix-web-log-file))
(stop #~(make-kill-destructor))))))