aboutsummaryrefslogtreecommitdiff
path: root/gn/services
diff options
context:
space:
mode:
Diffstat (limited to 'gn/services')
-rw-r--r--gn/services/databases.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gn/services/databases.scm b/gn/services/databases.scm
index f8fb01b..deae96d 100644
--- a/gn/services/databases.scm
+++ b/gn/services/databases.scm
@@ -9,6 +9,7 @@
#:export (virtuoso-configuration
virtuoso-configuration?
virtuoso-configuration-package
+ virtuoso-configuration-state-directory
virtuoso-configuration-server-ip
virtuoso-configuration-server-port
virtuoso-configuration-http-server-ip
@@ -24,6 +25,8 @@
virtuoso-configuration?
(package virtuoso-configuration-package
(default virtuoso-ose))
+ (state-directory virtuoso-configuration-state-directory
+ (default "/var/lib/virtuoso"))
(server-ip virtuoso-configuration-server-ip
(default "localhost"))
(server-port virtuoso-configuration-server-port
@@ -70,7 +73,7 @@
(format port "ServerPort = ~a:~a~%"
#$(virtuoso-configuration-http-server-ip config)
#$(virtuoso-configuration-http-server-port config)))))))
- #:directory "/var/lib/virtuoso"
+ #:directory #$(virtuoso-configuration-state-directory config)
#:user "virtuoso"
#:group "virtuoso"))
(stop #~(make-kill-destructor))))