mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-12-23 05:02:22 +01:00
Alan Orth
a51422273c
This parameter is not customizable. All DSpace instances use this name for the Solr statistics core.
18 lines
452 B
Desktop File
18 lines
452 B
Desktop File
[Unit]
|
|
Description=DSpace Statistics API
|
|
After=network.target
|
|
|
|
[Service]
|
|
Environment=SOLR_SERVER=http://localhost:8081/solr
|
|
User=nobody
|
|
Group=nogroup
|
|
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
|
ExecStart=/opt/ilri/dspace-statistics-api/venv/bin/gunicorn \
|
|
--bind 127.0.0.1:5000 \
|
|
app:api
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|