aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-11-07 08:20:04 -0600
committerFrederick Muriuki Muriithi2024-11-07 08:25:55 -0600
commit02b6a6f0a6f81a971912a2663b5e7d3880119c3d (patch)
tree35ed30a9a8a1a52427d30ae272688f41ff9345f3
parentc67e1f231b0323f87d1843d4b4dba74c13d2d935 (diff)
downloadgn-machines-02b6a6f0a6f81a971912a2663b5e7d3880119c3d.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-xpublic-sparql-deploy.sh1
-rw-r--r--public-sparql.scm2
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")))