mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 14:25:01 +01:00
contrib: Update environment settings in system units
This commit is contained in:
parent
3327884f21
commit
74ff86ee3b
@ -3,7 +3,10 @@ Description=DSpace Statistics API
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[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
|
User=nobody
|
||||||
Group=nogroup
|
Group=nogroup
|
||||||
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
||||||
|
@ -4,6 +4,10 @@ After=tomcat7.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=SOLR_SERVER=http://localhost:8081/solr
|
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
|
User=nobody
|
||||||
Group=nogroup
|
Group=nogroup
|
||||||
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
||||||
|
Loading…
Reference in New Issue
Block a user