diff --git a/docs/reference/setup/install/deb.asciidoc b/docs/reference/setup/install/deb.asciidoc index 680753b99a2e..536ee35551c7 100644 --- a/docs/reference/setup/install/deb.asciidoc +++ b/docs/reference/setup/install/deb.asciidoc @@ -160,9 +160,7 @@ include::check-running.asciidoc[] [[deb-configuring]] ==== Configuring Elasticsearch -Elasticsearch loads its configuration from the `/etc/elasticsearch/elasticsearch.yml` -file by default. The format of this config file is explained in -<>. +include::etc-elasticsearch.asciidoc[] The Debian package also has a system configuration file (`/etc/default/elasticsearch`), which allows you to set the following parameters: diff --git a/docs/reference/setup/install/etc-elasticsearch.asciidoc b/docs/reference/setup/install/etc-elasticsearch.asciidoc new file mode 100644 index 000000000000..593d146bfd20 --- /dev/null +++ b/docs/reference/setup/install/etc-elasticsearch.asciidoc @@ -0,0 +1,12 @@ +Elasticsearch defaults to using `/etc/elasticsearch` for runtime configuration. +The ownership of this directory and all files in this directory are set to +`root:elasticsearch` on package installation and the directory has the `setgid` +flag set so that any files and subdirectories created under `/etc/elasticsearch` +are created with this ownership as well (e.g., if a keystore is created using +the <>). It is expected that this be maintained so +that the Elasticsearch process can read the files under this directory via the +group permissions. + +Elasticsearch loads its configuration from the +`/etc/elasticsearch/elasticsearch.yml` file by default. The format of this +config file is explained in <>. diff --git a/docs/reference/setup/install/rpm.asciidoc b/docs/reference/setup/install/rpm.asciidoc index a62e324ad8c2..1530187d1318 100644 --- a/docs/reference/setup/install/rpm.asciidoc +++ b/docs/reference/setup/install/rpm.asciidoc @@ -148,9 +148,7 @@ include::check-running.asciidoc[] [[rpm-configuring]] ==== Configuring Elasticsearch -Elasticsearch loads its configuration from the `/etc/elasticsearch/elasticsearch.yml` -file by default. The format of this config file is explained in -<>. +include::etc-elasticsearch.asciidoc[] The RPM also has a system configuration file (`/etc/sysconfig/elasticsearch`), which allows you to set the following parameters: