Browse Source

genome-browser: new service.

master
Efraim Flashner 5 months ago
committed by Shepherd
parent
commit
ec2ddc77f9
  1. 2
      run_genome_browser.sh
  2. 12
      shepherd/init.d/genome-browser.scm

2
run_genome_browser.sh

@ -0,0 +1,2 @@
#!/bin/sh
$(/home/shepherd/guix-profiles/genome-browser/bin/guix system container -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics /home/shepherd/guix-bioinformatics/gn/services/genome-browser.scm --network --share=/export/efraimf/UCSC_Genome/gbdb=/gbdb --share=/export/efraimf/UCSC_Genome/var-lib-mysql=/var/lib/mysql --share=/export/efraimf/UCSC_Genome/var-cache-genome=/var/cache/genome --share=/export/efraimf/UCSC_Genome/var-cache-genome=/var/www/html/trash)

12
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)
Loading…
Cancel
Save