Sandeep Tagore wrote:
> Hello Everyone,
> I use "java -jar start.jar" command to start Solr. And when ever i want to
> stop it, I kill the process. 
> Is there any command to stop it?
>
> Thanks in advance.
>
> Sandeep
>
> -----
> Sandeep Tagore
>
>   
Just look up how jetty works - its not Solr specific.

One option is start like:

java -DSTOP.PORT={port} -DSTOP.KEY=secret -jar start.jar

Pick a port and a key (I used secret).

Then to stop:

java -DSTOP.PORT={port} -DSTOP.KEY=secret -jar start.jar --stop


-- 
- Mark

http://www.lucidimagination.com



Reply via email to