Hi Edwin,

yes, it's possible. We already use Solr as service created with nssm.exe and it 
works fine.

Example command:
nssm install mySolrService path/to/solr/bin/solr.cmd "start -f -c -z 
"zkInstance:2181" -p 8983 -s "path/to/store/solr/data" -m 4g"

Good luck!

Regards,
Eileen

-----Ursprüngliche Nachricht-----
Von: Zheng Lin Edwin Yeo <edwinye...@gmail.com> 
Gesendet: Mittwoch, 14. August 2019 04:46
An: solr-user@lucene.apache.org
Betreff: Running Solr as a service

Hi,

Is there anyway that we can run Solr as a service, and allow it to start 
automatically during the startup of the system?

I have tried to set up the service by using nssm, but it only works for 
ZooKeeper and not Solr.

I am using Solr 8.2.0.

Regards,
Edwin

Reply via email to