1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-08 18:25:53 +02:00

services: hpcguix-web: Set SSL_CERT_DIR.

Previously Git pulls over HTTPS would fail with:

  guix/git.scm:132:7: In procedure update-cached-checkout:
  Throw to key `git-error' with args `(#<<git-error> code: -17 message: "the SSL certificate is invalid" class: 16>)'.

* gnu/services/web.scm (hpcguix-web-shepherd-service): Pass
"SSL_CERT_DIR=/etc/ssl/certs".
* doc/guix.texi (Web Services): Mention certificates.
This commit is contained in:
Ludovic Courtès
2018-09-06 13:49:06 +02:00
parent 3ffcad7df3
commit 7df945656c
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -967,7 +967,8 @@ a webserver.")
#:user "hpcguix-web"
#:group "hpcguix-web"
#:environment-variables
(list "XDG_CACHE_HOME=/var/cache")))
(list "XDG_CACHE_HOME=/var/cache"
"SSL_CERT_DIR=/etc/ssl/certs")))
(stop #~(make-kill-destructor))))))
(define hpcguix-web-service-type