diff options
author | Frederick Muriuki Muriithi | 2024-11-07 08:20:04 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-12 14:04:26 -0600 |
commit | 74806a5ac0ad0336ec2bf6df3e36d43cbe39bc61 (patch) | |
tree | 7b445f35e710763066193969f4d8ba81c36197b7 | |
parent | 0ca7b99f9e08926e7912980e96cdf4b99dafd44a (diff) | |
download | gn-machines-74806a5ac0ad0336ec2bf6df3e36d43cbe39bc61.tar.gz |
Use virtuoso's state directory as its data directory
This helps avoid having a long list of directories to track and manage.
-rwxr-xr-x | public-sparql-deploy.sh | 1 | ||||
-rw-r--r-- | public-sparql.scm | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/public-sparql-deploy.sh b/public-sparql-deploy.sh index bc4c23a..f94dc82 100755 --- a/public-sparql-deploy.sh +++ b/public-sparql-deploy.sh @@ -24,7 +24,6 @@ container_script=$(guix system container \ --verbosity=3 \ --share=/export2/guix-containers/public-sparql/var/lib/mysql=/var/lib/mysql \ --share=/export2/guix-containers/public-sparql/var/lib/virtuoso=/var/lib/virtuoso \ - --share=/export/data/genenetwork-virtuoso=/var/lib/data \ public-sparql.scm) echo $container_script diff --git a/public-sparql.scm b/public-sparql.scm index ba728eb..76c9f3a 100644 --- a/public-sparql.scm +++ b/public-sparql.scm @@ -54,7 +54,7 @@ SPARQL endpoint is listening on." (server-port %virtuoso-port) (http-server-port %sparql-port) (number-of-buffers 4000000) - (dirs-allowed "/var/lib/data") + (dirs-allowed "/var/lib/virtuoso") (maximum-dirty-buffers 3000000) (database-file "/var/lib/virtuoso/public-virtuoso.db") (transaction-file "/var/lib/virtuoso/public-virtuoso.trx"))) |