[es] Bump to 5.0.1

* explicitly configure default JVM heap size
* /conf needed ownership fixed
For #112
This commit is contained in:
Geoff Bourne
2016-11-28 20:37:44 -07:00
parent a0c1ed88d1
commit f2955bcc2f
3 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ echo "Starting Elasticsearch with the options $OPTS"
CMD="$ES_HOME/bin/elasticsearch $OPTS"
if [ `id -u` = 0 ]; then
echo "Running as non-root..."
chown -R $DEFAULT_ES_USER /data
chown -R $DEFAULT_ES_USER /data /conf
su -c "$CMD" $DEFAULT_ES_USER
else
$CMD