aboutsummaryrefslogtreecommitdiff
path: root/gn/services/ratspub.service
diff options
context:
space:
mode:
authorEfraim Flashner2020-04-28 05:44:52 -0500
committerEfraim Flashner2020-04-28 05:44:52 -0500
commitd55b35d119592ee5aa452f7f1e98a885f5ed5fa9 (patch)
tree52bc46c9d0c5379e65e8256ef96d68f4f56869d0 /gn/services/ratspub.service
parent3b5182bdd5d9a24cbc15c47df6acbfdbc1c80d3a (diff)
downloadguix-bioinformatics-d55b35d119592ee5aa452f7f1e98a885f5ed5fa9.tar.gz
WIP ratspub servicewip-ratspub-container
Diffstat (limited to 'gn/services/ratspub.service')
-rw-r--r--gn/services/ratspub.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/gn/services/ratspub.service b/gn/services/ratspub.service
new file mode 100644
index 0000000..91b9509
--- /dev/null
+++ b/gn/services/ratspub.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Rats.pub web server
+
+[Service]
+ExecStart=/home/gn-rshiny/run_ratspub.sh
+#WorkingDirectory=/home/gn-shiny/ratspub
+#ExecStartPre='/bin/cp -r $(/var/guix/profiles/per-user/efraimf/current-guix/bin/guix build ratspub)/* /home/gn-shiny/ratspub'
+#ExecStop='/bin/rm -rf /home/gn-shiny/ratspub/*'
+Environment="EDIRECT_PUBMED_MASTER=/export2/PubMed" "NLTK_DATA=/export2/PubMed/nltk_data" "PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt"
+Restart=always
+
+[Install]
+WantedBy=multi-user.target