From 18f77179e74ea28a0eb2c9527350627e00a11139 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Mar 2020 14:52:47 +0000 Subject: shepherd: add singlecellrshiny --- shepherd/init.d/singlecell.scm | 13 +++++++++++++ shepherd/init.d/test-upgrade.scm | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 shepherd/init.d/singlecell.scm diff --git a/shepherd/init.d/singlecell.scm b/shepherd/init.d/singlecell.scm new file mode 100644 index 0000000..5492e31 --- /dev/null +++ b/shepherd/init.d/singlecell.scm @@ -0,0 +1,13 @@ +(define rn6app + (make + #: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) diff --git a/shepherd/init.d/test-upgrade.scm b/shepherd/init.d/test-upgrade.scm index 0c17303..80ae7dc 100644 --- a/shepherd/init.d/test-upgrade.scm +++ b/shepherd/init.d/test-upgrade.scm @@ -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"))) -- cgit v1.2.3