1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-09 16:25:45 +01:00
dspace-statistics-api/contrib/dspace-statistics-indexer.service

18 lines
495 B
SYSTEMD
Raw Normal View History

[Unit]
Description=DSpace Statistics Indexer
After=tomcat7.target
[Service]
Environment=SOLR_SERVER=http://localhost:8081/solr
Environment=DATABASE_NAME=dspacestatistics
Environment=DATABASE_USER=dspacestatistics
Environment=DATABASE_PASS=dspacestatistics
Environment=DATABASE_HOST=localhost
User=nobody
Group=nogroup
2018-10-23 13:34:29 +02:00
WorkingDirectory=/var/lib/dspace-statistics-api
ExecStart=/var/lib/dspace-statistics-api/venv/bin/python -m dspace_statistics_api.indexer
[Install]
WantedBy=multi-user.target