From 124c7bf5129d34b7fc06720f6d247970929aa54f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 27 Apr 2020 07:26:08 +0000 Subject: shepherd: Add virtuoso service --- shepherd/init.d/virtuoso.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 shepherd/init.d/virtuoso.scm (limited to 'shepherd') diff --git a/shepherd/init.d/virtuoso.scm b/shepherd/init.d/virtuoso.scm new file mode 100644 index 0000000..241fe23 --- /dev/null +++ b/shepherd/init.d/virtuoso.scm @@ -0,0 +1,13 @@ +(define virtuoso + (make + #:provides '(virtuoso) + #:docstring "Run the virtuoso web server" + #:start (make-forkexec-constructor + '("/var/guix/profiles/per-user/shepherd/current-guix/bin/guix" "environment" "--ad-hoc" "virtuoso-ose" "--" "virtuoso-t" "-f") + #:directory "/export/virtuoso/var/lib/virtuoso/db" + #:log-file "/home/shepherd/logs/virtuoso.log") + #:stop (make-kill-destructor) + #:respawn? #t)) +(register-services virtuoso) + +(start virtuoso) -- cgit v1.2.3