You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chuming Chen <ch...@gmail.com> on 2018/09/13 15:25:21 UTC

start solr cloud at boot time

Hi All,

Is there any bash script that can start a solr cloud at boot time? 

Thanks,

Chuming

Re: start solr cloud at boot time

Posted by Shawn Heisey <ap...@elyograg.org>.
On 9/13/2018 9:25 AM, Chuming Chen wrote:
> Is there any bash script that can start a solr cloud at boot time?

  Use the service installer script.  This will install an init script 
and set it up so it starts at boot.

https://lucene.apache.org/solr/guide/7_4/taking-solr-to-production.html#run-the-solr-installation-script

Then you edit the include script (which gets the name 
/etc/default/solr.in.sh by default) to tell it about your ZK setup, 
change the heap size, and other settings.

Thanks,
Shawn