From 0cda4a683b55a2447c198359cd314cdbda95926a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 9 Sep 2020 08:21:34 +0000 Subject: ratspub: Update --- run_ratspub.sh | 4 ++-- shepherd/init.d/ratspub.scm | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/run_ratspub.sh b/run_ratspub.sh index a4b3392..b981db6 100755 --- a/run_ratspub.sh +++ b/run_ratspub.sh @@ -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 diff --git a/shepherd/init.d/ratspub.scm b/shepherd/init.d/ratspub.scm index cb4fbb1..c1d552a 100644 --- a/shepherd/init.d/ratspub.scm +++ b/shepherd/init.d/ratspub.scm @@ -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)) -- cgit v1.2.3