diff options
author | Arun Isaac | 2022-08-23 23:05:37 +0530 |
---|---|---|
committer | Arun Isaac | 2022-08-23 23:05:37 +0530 |
commit | 6675b3359229311cbc18980f958179fabcd321aa (patch) | |
tree | dbdbf3e3b51b2b7d80e85ccfa235daa1d391ffb0 | |
parent | 7a64d734100bf92bc6aab6a2415da546b00810d4 (diff) | |
download | gn-machines-6675b3359229311cbc18980f958179fabcd321aa.tar.gz |
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.
-rwxr-xr-x | genenetwork-development-deploy.sh | 1 | ||||
-rw-r--r-- | 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 |