aboutsummaryrefslogtreecommitdiff
path: root/shepherd
diff options
context:
space:
mode:
authorEfraim Flashner2021-05-04 12:35:02 +0000
committerShepherd2021-05-06 09:21:38 +0000
commitec2ddc77f9e97794d0bc04cc37279c040c6aaf08 (patch)
tree1e55233d05f4d48c9313b6d761751ac1845a8085 /shepherd
parent2474df352b0de12dc18ba46f00c5ceddd0f29863 (diff)
downloadgn-shepherd-services-ec2ddc77f9e97794d0bc04cc37279c040c6aaf08.tar.gz
genome-browser: new service.
Diffstat (limited to 'shepherd')
-rw-r--r--shepherd/init.d/genome-browser.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/shepherd/init.d/genome-browser.scm b/shepherd/init.d/genome-browser.scm
new file mode 100644
index 0000000..60d5ce7
--- /dev/null
+++ b/shepherd/init.d/genome-browser.scm
@@ -0,0 +1,12 @@
+(define genome-browser
+ (make <service>
+ #:provides '(genome-browser)
+ #:docstring "Run an instance of the UCSC Genome Browser webserver"
+ #:start (make-forkexec-constructor
+ '("/usr/bin/sudo" "/home/shepherd/run_genome_browser.sh")
+ #:log-file "/home/shepherd/logs/genome-browser.log")
+ #:stop (make-kill-destructor)
+ #:respawn? #t))
+(register-services genome-browser)
+
+(start genome-browser)