about summary refs log tree commit diff
path: root/etc/archive-pubmed.service
blob: 703a23efb6238553de20d2e9c0cb305f38feac47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Example of a systemd service to update the PubMed archive (with indexing)
[Unit]
Description=Download PubMed Archives
After=network-online.target
Wants=network-online.target
AssertPathExists=/export/PubMed

[Service]
ExecStart=/usr/local/guix-profiles/genecup/bin/index-pubmed
Environment="EDIRECT_LOCAL_ARCHIVE=/export/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