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.master
parent
f0c609323e
commit
e86c2f058a
|
@ -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))))))
|
||||
|
|
Reference in New Issue