aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-08-23 23:05:37 +0530
committerArun Isaac2022-08-23 23:05:37 +0530
commit6675b3359229311cbc18980f958179fabcd321aa (patch)
treedbdbf3e3b51b2b7d80e85ccfa235daa1d391ffb0
parent7a64d734100bf92bc6aab6a2415da546b00810d4 (diff)
downloadgn-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-xgenenetwork-development-deploy.sh1
-rw-r--r--genenetwork-development.scm4
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