aboutsummaryrefslogtreecommitdiff
path: root/shepherd
diff options
context:
space:
mode:
Diffstat (limited to 'shepherd')
-rw-r--r--shepherd/init.d/covid19-pubseq.scm12
-rw-r--r--shepherd/init.d/test-upgrade.scm2
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")))