diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-10-27 11:13:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-27 18:00:28 +0100 |
commit | e86c2f058aac730b407bd128782d3627f71c0fa7 (patch) | |
tree | 2b124b68540266888c3292311f39deef28b5d61f /gnu | |
parent | f0c609323e583c075e1af4329d4d9d84befeba52 (diff) | |
download | guix-e86c2f058aac730b407bd128782d3627f71c0fa7.tar guix-e86c2f058aac730b407bd128782d3627f71c0fa7.tar.gz |
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')
-rw-r--r-- | gnu/services/web.scm | 2 |
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)))))) |