Browse Source

ratspub: Update

master
Efraim Flashner 1 month ago
committed by Shepherd
parent
commit
0cda4a683b
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      run_ratspub.sh
  2. +2
    -1
      shepherd/init.d/ratspub.scm

+ 2
- 2
run_ratspub.sh View File

@@ -1,3 +1,3 @@
#!/bin/sh
cd $(/var/guix/profiles/per-user/shepherd/current-guix/bin/guix build ratspub-with-tensorflow-native)
/var/guix/profiles/per-user/shepherd/current-guix/bin/guix environment --ad-hoc ratspub-with-tensorflow-native -- ./server.py
cd $(/home/shepherd/guix-profiles/ratspub/bin/guix build ratspub-with-tensorflow-native)
/home/shepherd/guix-profiles/ratspub/bin/guix environment --ad-hoc ratspub-with-tensorflow-native -- ./server.py

+ 2
- 1
shepherd/init.d/ratspub.scm View File

@@ -9,7 +9,8 @@
#:environment-variables
(list "EDIRECT_PUBMED_MASTER=/export2/PubMed"
"NLTK_DATA=/home/hchen/nltk_data"
"PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt")
"PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt"
"TMPDIR=/export/ratspub/tmp")
#:log-file "/home/shepherd/logs/ratspub.log")
#:stop (make-kill-destructor)
#:respawn? #t))


Loading…
Cancel
Save