lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Stopping Solr
Date Mon, 05 Oct 2009 14:17:12 GMT
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




Mime
View raw message