aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
diff options
context:
space:
mode:
Diffstat (limited to 'genenetwork')
-rw-r--r--genenetwork/services/genenetwork.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index 0fc2fae..6a691b8 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -231,6 +231,9 @@ object."
(name "GN2_PROFILE")
(value gn2-profile))
(environment-variable
+ (name "TMPDIR")
+ (value "/tmp"))
+ (environment-variable
(name "GN2_SETTINGS")
(value gn2-conf))
(environment-variable
@@ -243,6 +246,10 @@ object."
(file-system-mapping
(source gn-sourcecode-directory)
(target source))
+ (file-system-mapping ; GN2 and GN3 need to share TMPDIR
+ (source "/tmp")
+ (target "/tmp")
+ (writable? #t))
(file-system-mapping
(source gn2-conf)
(target source))
@@ -268,6 +275,9 @@ object."
(name "GN3_CONF")
(value gn3-conf))
(environment-variable
+ (name "TMPDIR")
+ (value "/tmp"))
+ (environment-variable
(name "GN3_SECRETS")
(value gn3-secrets))
(environment-variable
@@ -286,6 +296,10 @@ object."
(file-system-mapping
(source gn3-data-directory)
(target source))
+ (file-system-mapping ; GN2 and GN3 need to share TMPDIR
+ (source "/tmp")
+ (target "/tmp")
+ (writable? #t))
(file-system-mapping
(source xapian-db)
(target source))