aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2020-09-09 08:21:34 +0000
committerShepherd2020-09-09 08:21:34 +0000
commit0cda4a683b55a2447c198359cd314cdbda95926a (patch)
treecc1888a3e2cea0e36eb585957a06bce0bcdf085b
parentb25542805cd47b75c4e5987e4bc770277e3015a3 (diff)
downloadgn-shepherd-services-0cda4a683b55a2447c198359cd314cdbda95926a.tar.gz
ratspub: Update
-rwxr-xr-xrun_ratspub.sh4
-rw-r--r--shepherd/init.d/ratspub.scm3
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))