diff options
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r-- | genenetwork-development.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 638d2c9..688d02f 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -436,11 +436,14 @@ described by CONFIG, a <genenetwork-configuration> object." (program-file "genenetwork2" (genenetwork2-cd-gexp config)) #:name "genenetwork2-pola-wrapper" + ;; If we mapped only the mysqld.sock + ;; socket file, it would break when the + ;; external mysqld server is restarted. #:mappings (list (file-system-mapping (source genotype-files) (target source)) (file-system-mapping - (source "/run/mysqld/mysqld.sock") + (source "/run/mysqld") (target source) (writable? #t))) #:namespaces (delq 'net %namespaces)) @@ -458,8 +461,11 @@ described by CONFIG, a <genenetwork-configuration> object." (program-file "genenetwork3" (genenetwork3-cd-gexp config)) #:name "genenetwork3-pola-wrapper" + ;; If we mapped only the mysqld.sock + ;; socket file, it would break when the + ;; external mysqld server is restarted. #:mappings (list (file-system-mapping - (source "/run/mysqld/mysqld.sock") + (source "/run/mysqld") (target source) (writable? #t)) (file-system-mapping |