aboutsummaryrefslogtreecommitdiff
path: root/shepherd
diff options
context:
space:
mode:
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)