And in your config file, set: node.max_local_storage_nodes: 1
that way you won't start two nodes on a single instance On 20 June 2014 16:54, Andrew Gaydenko <andrew.gayde...@gmail.com> wrote: > On Friday, June 20, 2014 6:49:04 PM UTC+4, Maciej Dziardziel wrote: >> >> use start-stop-daemon or adapt /etc/init.d/elasticsearch to set up >> pidfile guarding es instance. Or just run this way: >> pgrep -f elasticsearch || ./start_es.sh >> > > Aha, thanks! - at my case pgrep is the most appropriate. > >> -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/115162b2-d679-48f0-a06e-24c47f74d079%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/115162b2-d679-48f0-a06e-24c47f74d079%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPt3XKTwyNM0DGJ_6HMoSbWmyJkSv5PObsfwGOF3tZ1a0QmJ9g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.