Skip to content

Instantly share code, notes, and snippets.

@djcp
djcp / elasticsearch.sh
Created April 23, 2019 14:43
Super simple elasticsearch init
#! /bin/sh
# TODO: check for openjdk-8-jre and fail out
DIR=~/code/work/elasticsearch
start_es(){
./elasticsearch-5.6.16/bin/elasticsearch
}