From 6675b3359229311cbc18980f958179fabcd321aa Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 23 Aug 2022 23:05:37 +0530 Subject: Expose CD logs to host. * genenetwork-development.scm (genenetwork2-shepherd-service, genenetwork3-shepherd-service): Move log files into /var/log/cd. * genenetwork-development-deploy.sh: Share /var/log/cd with host. --- genenetwork-development-deploy.sh | 1 + genenetwork-development.scm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh index 9c97275..da4bced 100755 --- a/genenetwork-development-deploy.sh +++ b/genenetwork-development-deploy.sh @@ -28,6 +28,7 @@ container_script=$(guix system container --network \ --share=/var/guix-containers/genenetwork-development/var/lib/laminar=/var/lib/laminar \ --share=/var/guix-containers/genenetwork-development/var/lib/tissue=/var/lib/tissue \ --share=/var/guix-containers/genenetwork-development/var/lib/virtuoso=/var/lib/virtuoso \ + --share=/var/guix-containers/genenetwork-development/var/log/cd=/var/log/cd \ --expose=/export/data/genenetwork/genotype_files \ --share=/export/genenetwork-database-dump \ --share=/var/run/mysqld/mysqld.sock=/run/mysqld/mysqld.sock \ diff --git a/genenetwork-development.scm b/genenetwork-development.scm index a88345e..4b5ba69 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -280,7 +280,7 @@ describing genenetwork2." (source "/run/mysqld/mysqld.sock") (target source) (writable? #t))) - #:log-file "/var/log/genenetwork2.log"))) + #:log-file "/var/log/cd/genenetwork2.log"))) (stop #~(make-kill-destructor)))) (define %default-genenetwork2-configuration @@ -416,7 +416,7 @@ command to be executed." (source "/run/mysqld/mysqld.sock") (target source) (writable? #t))) - #:log-file "/var/log/genenetwork3.log"))) + #:log-file "/var/log/cd/genenetwork3.log"))) (stop #~(make-kill-destructor)))) (define %default-genenetwork3-configuration -- cgit v1.2.3