diff options
author | Efraim Flashner | 2020-06-28 10:58:09 +0000 |
---|---|---|
committer | Shepherd | 2020-06-28 10:58:39 +0000 |
commit | 3ca5af0178efc4bce38251de955cac97a64ba2ca (patch) | |
tree | 504c5cf8ac644f65c4fab9976c0e09480116eb0d /shepherd | |
parent | ae6fa1540e90d27cf4fa8060a70377f534aede53 (diff) | |
download | gn-shepherd-services-3ca5af0178efc4bce38251de955cac97a64ba2ca.tar.gz |
covid19-pubseq: New service.
Diffstat (limited to 'shepherd')
-rw-r--r-- | shepherd/init.d/covid19-pubseq.scm | 12 | ||||
-rw-r--r-- | shepherd/init.d/test-upgrade.scm | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/shepherd/init.d/covid19-pubseq.scm b/shepherd/init.d/covid19-pubseq.scm new file mode 100644 index 0000000..0d1709d --- /dev/null +++ b/shepherd/init.d/covid19-pubseq.scm @@ -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) diff --git a/shepherd/init.d/test-upgrade.scm b/shepherd/init.d/test-upgrade.scm index 4d9687a..7d913e6 100644 --- a/shepherd/init.d/test-upgrade.scm +++ b/shepherd/init.d/test-upgrade.scm @@ -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"))) |