mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-14 02:27:02 +01:00
18 lines
475 B
Desktop File
18 lines
475 B
Desktop File
[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
|
|
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
|
ExecStart=/opt/ilri/dspace-statistics-api/venv/bin/python indexer.py
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|