Running Elasticsearch on startup
Jul 22, 2017 · 1 min read
I recently created my own Elasticsearch cluster, and for some reason, I don’t know if it’s by default but the Elasticsearch service didn’t start on boot. This could be really annoying if the server for some reason got rebooted or shut down. After some googling I found a really neat solution that solved my issue.
Run the following lines on your machine:
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
sudo /bin/systemctl start elasticsearch.serviceHappy hacking…
