aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/singlecell.scm
blob: 358e4d49a9ffba2149dcb95985d5c6053f2f8dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(define singlecell
  (make <service>
	#:provides '(singlecell)
	#:docstring "Run Single Cell R-Shiny app"
	#:start (make-forkexec-constructor
		  ;(system* "/var/guix/profiles/per-user/shepherd/current-guix/bin/guix" "environment" "--ad-hoc" "singlecellrshiny" "--" "sh" "-c" "\\'R_LIBS_USER=$GUIX_ENVIRONMENT/site-library/ singlecellrshiny\\'")
		  '("/home/shepherd/run_singlecell.sh")
		  #:log-file "/home/shepherd/logs/singlecell.log")
	#:stop (make-kill-destructor)
	#:respawn? #t))
(register-services singlecell)

(start singlecell)