aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/pluto.scm
blob: 23a696edcdd435c5efa8027f88082889fa59924b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(define pluto
  (make <service>
	#:provides '(pluto)
	#:docstring "Run a pluto web server"
	#:start (make-forkexec-constructor
		  ;; Update the path to runpluto as the guix-profile changes.
		  '("/home/shepherd/guix-profiles/pluto/bin/guix" "shell" "--container" "--network" "--no-cwd" "julia-visuals" "--" "/gnu/store/wbci39sd5pqrjrb5ak0lkmv9jhnl35kv-julia-visuals-0.0.0-1.e7d670e/runpluto.sh")
		  #:log-file "/home/shepherd/logs/pluto.log")
	#:stop (make-kill-destructor)
	#:respawn? #t))
(register-services pluto)

(start pluto)