aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/virtuoso.scm
blob: 241fe23340d370a662cf561544d5bc8ff0db2e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)