diff options
author | Arun Isaac | 2023-01-18 18:09:29 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-18 18:09:29 +0000 |
commit | 676c578ffe2d35197542f636eb21bae4a75d0057 (patch) | |
tree | 39831aaac333c9c0e2409cc2dec3e8985db78dbc /genenetwork-development-deploy.sh | |
parent | 442ec2370efa2dfb5f9c0405c167964bcc2478a4 (diff) | |
download | gn-machines-676c578ffe2d35197542f636eb21bae4a75d0057.tar.gz |
Add data directory to genenetwork configuration.
*
genenetwork-development.scm (<genenetwork-configuration>)[data-directory]:
New field.
(genenetwork3-cd-gexp): Set DATA_DIR in settings file.
(genenetwork-shepherd-services): Map data directory into container.
(operating-system)[services]: Set data-directory of genenetwork
service to /export/data/genenetwork.
* genenetwork-development-deploy.sh: Expose entire data directory
/export/data/genenetwork instead of the contained genotype files
directory.
Diffstat (limited to 'genenetwork-development-deploy.sh')
-rwxr-xr-x | genenetwork-development-deploy.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh index ee3d12e..b7f469d 100755 --- a/genenetwork-development-deploy.sh +++ b/genenetwork-development-deploy.sh @@ -29,8 +29,7 @@ container_script=$(guix system container --network \ --share=/export2/guix-containers/genenetwork-development/var/lib/tissue=/var/lib/tissue \ --share=/export2/guix-containers/genenetwork-development/var/lib/virtuoso=/var/lib/virtuoso \ --share=/export2/guix-containers/genenetwork-development/var/log/cd=/var/log/cd \ - --expose=/export/data/genenetwork/genotype_files \ - --share=/export/data/genenetwork/xapian \ + --expose=/export/data/genenetwork \ --share=/export/data/genenetwork-xapian \ --share=/export/genenetwork-database-dump \ --share=/var/run/mysqld/mysqld.sock=/run/mysqld/mysqld.sock \ |