aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))