Browse Source

genecup: new service.

master
Efraim Flashner 4 months ago
committed by Shepherd
parent
commit
663f6ef7a4
  1. 2
      run_genecup.sh
  2. 14
      shepherd/init.d/genecup.scm

2
run_genecup.sh

@ -0,0 +1,2 @@
#!/bin/sh
$(/home/shepherd/guix-profiles/genecup/bin/guix system container -L /home/shepherd/guix-past/modules/ -L /home/shepherd/guix-bioinformatics/ /home/shepherd/guix-bioinformatics/gn/services/genecup-container.scm --network --share=/export2/PubMed=/export2/PubMed --share=/export/ratspub=/export/ratspub)

14
shepherd/init.d/genecup.scm

@ -0,0 +1,14 @@
(define genecup
(make <service>
#:provides '(genecup)
#:docstring "Run the genecup.org web server"
#:start (make-forkexec-constructor
'("/home/shepherd/run_genecup.sh")
#:log-file "/home/shepherd/logs/genecup.log")
#:stop (make-kill-destructor)
;; currently running in a screen session
#:auto-start? #f
#:respawn? #t))
(register-services genecup)
(start genecup)
Loading…
Cancel
Save