diff options
author | Efraim Flashner | 2020-04-27 07:26:08 +0000 |
---|---|---|
committer | Shepherd | 2020-04-27 07:27:39 +0000 |
commit | 124c7bf5129d34b7fc06720f6d247970929aa54f (patch) | |
tree | efbbb598b2448cda2fca762744e484847169a748 /shepherd | |
parent | 02901d72103d02fd0cf50c0e699c570b827122f2 (diff) | |
download | gn-shepherd-services-124c7bf5129d34b7fc06720f6d247970929aa54f.tar.gz |
shepherd: Add virtuoso service
Diffstat (limited to 'shepherd')
-rw-r--r-- | shepherd/init.d/virtuoso.scm | 13 |
1 files changed, 13 insertions, 0 deletions
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 <service> + #: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) |