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