From 036f01c19168caf46c92605305426cf201cb2c8a Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 20 Jun 2023 17:17:00 +0300 Subject: Add dirs-allowed to virtuoso configs --- gn/services/databases.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gn/services') diff --git a/gn/services/databases.scm b/gn/services/databases.scm index 2b2b225..d12a563 100644 --- a/gn/services/databases.scm +++ b/gn/services/databases.scm @@ -33,6 +33,8 @@ (default "localhost")) (server-port virtuoso-configuration-server-port (default 1111)) + (dirs-allowed virtuoso-dirs-allowed + (default "/var/genenetwork/virtuoso-data")) (number-of-buffers virtuoso-configuration-number-of-buffers (default #f)) (maximum-dirty-buffers virtuoso-configuration-maximum-dirty-buffers @@ -84,6 +86,9 @@ (format port "ServerPort = ~a:~a~%" #$(virtuoso-configuration-server-ip config) #$(virtuoso-configuration-server-port config))) + (when #$(virtuoso-dirs-allowed config) + (format port "[DirsAllowed] = ~a~%" + #$(virtuoso-dirs-allowed config))) (when #$(virtuoso-configuration-number-of-buffers config) (format port "NumberOfBuffers = ~a~%" #$(virtuoso-configuration-number-of-buffers config))) -- cgit v1.2.3