Browse Source

shepherd: Add virtuoso service

master
Efraim Flashner 10 months ago
committed by Shepherd
parent
commit
124c7bf512
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      shepherd/init.d/virtuoso.scm

+ 13
- 0
shepherd/init.d/virtuoso.scm View File

@@ -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)

Loading…
Cancel
Save