aboutsummaryrefslogtreecommitdiff
path: root/gn/services/ratspub.service
blob: 91b95092a3a1e2313980799f3d5e983f236b6297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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