about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--genenetwork/services/genenetwork.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index 70b5d5c..e28a87f 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -137,7 +137,7 @@
 
 (define (genenetwork-activation config)
   (match-record config <genenetwork-configuration>
-    (gn2-secrets gn3-secrets gn-auth-secrets auth-db)
+    (gn2-secrets gn3-secrets gn-auth-secrets auth-db llm-db)
     (with-imported-modules '((guix build utils))
       #~(begin
           (use-modules (guix build utils))
@@ -156,6 +156,9 @@
           (chown #$gn3-secrets
                  (passwd:uid (getpw "gunicorn-genenetwork3"))
                  (passwd:gid (getpw "gunicorn-genenetwork3")))
+	  (chown #$llm-db
+		 (passwd:uid (getpw "gunicorn-genenetwork3"))
+		 (passwd:gid (getpw "gunicorn-genenetwork3")))
           ;; Set owner-only permissions on secrets files.
           (for-each (lambda (file)
                       (chmod file #o600))