aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/singlecell.scm
blob: ace30e324b900317ebf3b74cfc5947d539a379b3 (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)