guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/10: services: hpcguix-web: Set 'XDG_CACHE_HOME' to a writable directo


From: guix-commits
Subject: 01/10: services: hpcguix-web: Set 'XDG_CACHE_HOME' to a writable directory.
Date: Tue, 27 Oct 2020 13:01:21 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e86c2f058aac730b407bd128782d3627f71c0fa7
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 27 11:13:46 2020 +0100

    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.
---
 gnu/services/web.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index a74c6c5..2384ec6 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))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]