diff --git a/src/deb/init.d/elasticsearch b/src/deb/init.d/elasticsearch index c5fa992a359..fd0b9dcf848 100644 --- a/src/deb/init.d/elasticsearch +++ b/src/deb/init.d/elasticsearch @@ -92,7 +92,7 @@ PID_FILE=/var/run/$NAME.pid DAEMON=$ES_HOME/bin/elasticsearch DAEMON_OPTS="-p $PID_FILE -Des.config=$CONF_FILE -Des.path.home=$ES_HOME -Des.path.logs=$LOG_DIR -Des.path.data=$DATA_DIR -Des.path.work=$WORK_DIR -Des.path.conf=$CONF_DIR" -export ES_MIN_MEM ES_MAX_MEM +export ES_HEAP_SIZE # Check DAEMON exists test -x $DAEMON || exit 0