From 02b6a6f0a6f81a971912a2663b5e7d3880119c3d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 7 Nov 2024 08:20:04 -0600 Subject: Use virtuoso's state directory as its data directory This helps avoid having a long list of directories to track and manage. --- public-sparql-deploy.sh | 1 - public-sparql.scm | 2 +- 2 files changed, 1 insertion(+), 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"))) -- cgit v1.2.3