Archived
1
0
Fork 0

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.
This commit is contained in:
Ludovic Courtès 2020-10-27 11:13:46 +01:00
parent f0c609323e
commit e86c2f058a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

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