Browse Source

covid19-pubseq: New service.

master
Efraim Flashner 3 months ago
committed by Shepherd
parent
commit
3ca5af0178
3 changed files with 15 additions and 1 deletions
  1. +2
    -0
      run_covid19-pubseq.sh
  2. +12
    -0
      shepherd/init.d/covid19-pubseq.scm
  3. +1
    -1
      shepherd/init.d/test-upgrade.scm

+ 2
- 0
run_covid19-pubseq.sh View File

@@ -0,0 +1,2 @@
#!/bin/sh
$(/home/shepherd/.config/guix/current/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bh20-seq-resource-container.scm --share=/export/tmp=/export/tmp --network)

+ 12
- 0
shepherd/init.d/covid19-pubseq.scm View File

@@ -0,0 +1,12 @@
(define covid19-pubseq
(make <service>
#:provides '(covid19-pubseq)
#:docstring "Run the COVID-19 PubSeq: Public SARS-CoV-2 Sequence Resource Webserver"
#:start (make-forkexec-constructor
'("/usr/bin/sudo" "/home/shepherd/run_covid19-pubseq.sh")
#:log-file "/home/shepherd/logs/covid19-pubseq.log")
#:stop (make-kill-destructor)
#:respawn? #t))
(register-services covid19-pubseq)

(start covid19-pubseq)

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

@@ -8,7 +8,7 @@
'("guix" "build" "-L" "/home/shepherd/guix-bioinformatics"
"--no-grafts" "bnw" "gitea" "go-ipfs" "edirect"
"bxd-power-calculator-app" "rn6-assembly-error-app"
"singlecellrshiny" "virtuoso-ose" "hrdp-project")
"singlecellrshiny" "virtuoso-ose" "hrdp-project" "bh20-seq-resource")
;(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