This is absolutely ancient but maybe there is at least a nugget of usefulness in it:
https://www.outerthoughts.com/2013/07/setting-up-apache-solr-on-windows-as-a-service/ Regards, Alex On Wed., Sep. 1, 2021, 11:07 p.m. Reej M, <reej...@gmail.com> wrote: > Hi All, > > For now we are running solr cloud starting it from the command prompt as > below from the 2 servers for starting the 2 nodes > > Server 1 & Server 2 > bin\solr start -cloud -p 3883 -s “server\solr\cloud\node\solr” > bin\solr start -cloud -p 9883 -s “server\solr\cloud\node\solr” > > But if we close the command prompt server will obviously go down, is there > any way we can have this running in the background. > > We tried using shell script, but we can run it as a standalone service, > but is not working when we pass the commands to start as a cloud service. > We followed http://lets-share.senktas.net/2017/11/solr-as-a-service.html > <http://lets-share.senktas.net/2017/11/solr-as-a-service.html> for > running as windows service. > > Any one has tried any options for starting solr cloud as windows service, > do share your thoughts. > > Thanks > Reej