diff options
author | Efraim Flashner | 2020-02-17 02:14:35 -0600 |
---|---|---|
committer | Efraim Flashner | 2020-02-17 02:14:35 -0600 |
commit | a07cc9e17734383f2b305b1fc05a683500539383 (patch) | |
tree | ee923a1579d7f613bdc57a579732ee1e95049dc9 /gn/services/archive-pubmed.service | |
parent | 1b33411fca0c3a059542525f5e317bfe00d8c060 (diff) | |
download | guix-bioinformatics-a07cc9e17734383f2b305b1fc05a683500539383.tar.gz |
add archive-pubmed systemd service and timer
Diffstat (limited to 'gn/services/archive-pubmed.service')
-rw-r--r-- | gn/services/archive-pubmed.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gn/services/archive-pubmed.service b/gn/services/archive-pubmed.service new file mode 100644 index 0000000..fd00b71 --- /dev/null +++ b/gn/services/archive-pubmed.service @@ -0,0 +1,13 @@ +[Unit] +Description=Download PubMed Archives +After=network-online.target +Wants=network-online.target +AssertPathExists=/export2/PubMed + +[Service] +ExecStart=/usr/local/guix-profiles/ratspub/bin/archive-pubmed +Environment="EDIRECT_PUBMED_MASTER=/export2/PubMed" "PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt" "PATH=/usr/local/guix-profiles/ratspub/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin" +User=hchen + +[Install] +WantedBy=multi-user.target |