Browse Source

shepherd: add singlecellrshiny

master
Efraim Flashner 11 months ago
committed by Shepherd
parent
commit
18f77179e7
2 changed files with 15 additions and 1 deletions
  1. +13
    -0
      shepherd/init.d/singlecell.scm
  2. +2
    -1
      shepherd/init.d/test-upgrade.scm

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

@@ -0,0 +1,13 @@
(define rn6app
(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)

+ 2
- 1
shepherd/init.d/test-upgrade.scm View File

@@ -6,7 +6,8 @@
;; First attempt to build all the packages and only afterward attempt to build the containers.
(when (zero? (system* "guix" "build" "-L" "/home/shepherd/guix-bioinformatics"
"--no-grafts" "bnw" "gitea" "go-ipfs" "edirect-gn"
"bxd-power-calculator-app" "rn6-assembly-error-app"))
"bxd-power-calculator-app" "rn6-assembly-error-app"
"singlecellrshiny"))
(zero? (system* "guix" "system" "-L" "/home/shepherd/guix-bioinformatics"
"container" "/home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm"
"--share=/home/shepherd/logs/bnw-server=/var/log" "--network")))


Loading…
Cancel
Save