From b31af6e8b932de7f80354080779a2dc922d39ef5 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 8 Jul 2022 18:26:04 +0530 Subject: Map mysqld socket into the genenetwork3 container. * genenetwork-development.scm (genenetwork3-shepherd-service): Map mysqld socket into the container. --- genenetwork-development.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 90ecc0d..e1a3add 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -411,7 +411,11 @@ command to be executed." "127.0.0.1" #$(number->string (development-server-configuration-port config))) #:mappings (list (file-system-mapping (source #$(development-server-configuration-executable-path config)) - (target source))) + (target source)) + (file-system-mapping + (source "/run/mysqld/mysqld.sock") + (target source) + (writable? #t))) #:log-file "/var/log/genenetwork3.log"))) (stop #~(make-kill-destructor)))) -- cgit v1.2.3