elasticsearch/elasticsearch — Issue #1765: Init script in Debian package ignores some options in elasticsearch.yml
Author: erikrose
Created: 2012-03-07 04:24:55+00:00
State: open

In the line…

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"

…in `/etc/init.d/elasticsearch`, several options, like es.path.data, get paved over by the defaults from `/etc/default/elasticsearch` or by env vars. Any `path.data` option in `elasticsearch.yml` is ignored.