From 54ed0cbc63784fc8647e694a21b295fd72331be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20Gonz=C3=A1lez=20de=20la=20Herr=C3=A1n?= <25320357+eedugon@users.noreply.github.com> Date: Thu, 22 May 2025 12:24:38 +0200 Subject: [PATCH 1/2] debian pkg config file updated in snippet --- .../deploy/self-managed/_snippets/etc-elasticsearch.md | 4 ++-- .../self-managed/install-elasticsearch-with-debian-package.md | 1 + .../deploy/self-managed/install-elasticsearch-with-rpm.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md b/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md index 9aebf8b443..ad6121fc5e 100644 --- a/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md +++ b/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md @@ -4,7 +4,7 @@ The `setgid` flag applies group permissions on the `/etc/elasticsearch` director {{es}} loads its configuration from the `/etc/elasticsearch/elasticsearch.yml` file by default. The format of this config file is explained in [](/deploy-manage/deploy/self-managed/configure-elasticsearch.md). -The {{distro}} package also has a system configuration file (`/etc/sysconfig/elasticsearch`), which allows you to set the following parameters: +The {{distro}} package also has a system configuration file ({{pkg-conf}}), which allows you to set the following parameters: | Parameter | Description | | --- | --- | @@ -14,5 +14,5 @@ The {{distro}} package also has a system configuration file (`/etc/sysconfig/ela | `RESTART_ON_UPGRADE` | Configure restart on package upgrade, defaults to `false`. This means you will have to restart your {{es}} instance after installing a package manually. The reason for this is to ensure, that upgrades in a cluster do not result in a continuous shard reallocation resulting in high network traffic and reducing the response times of your cluster. | ::::{note} -Distributions that use `systemd` require that system resource limits be configured via `systemd` rather than via the `/etc/sysconfig/elasticsearch` file. See [Systemd configuration](/deploy-manage/deploy/self-managed/setting-system-settings.md#systemd) for more information. +Distributions that use `systemd` require that system resource limits be configured via `systemd` rather than via the {{pkg-conf}} file. See [Systemd configuration](/deploy-manage/deploy/self-managed/setting-system-settings.md#systemd) for more information. :::: \ No newline at end of file diff --git a/deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md b/deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md index 739a8eaebb..62525e0571 100644 --- a/deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md +++ b/deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md @@ -13,6 +13,7 @@ sub: distro: Debian export: "export " escape: \ + pkg-conf: /etc/default/elasticsearch --- # Install {{es}} with a Debian package [deb] diff --git a/deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md b/deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md index af9bd139e7..f19bb7019e 100644 --- a/deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md +++ b/deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md @@ -12,6 +12,7 @@ sub: slash: / distro: RPM export: export + pkg-conf: /etc/sysconfig/elasticsearch --- # Install {{es}} with RPM [rpm] From 16bb7b94c34b70e593cebc95b972e9869971475b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20Gonz=C3=A1lez=20de=20la=20Herr=C3=A1n?= <25320357+eedugon@users.noreply.github.com> Date: Fri, 23 May 2025 10:47:54 +0200 Subject: [PATCH 2/2] Update deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com> --- .../deploy/self-managed/_snippets/etc-elasticsearch.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md b/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md index ad6121fc5e..b713c88b90 100644 --- a/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md +++ b/deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md @@ -4,7 +4,13 @@ The `setgid` flag applies group permissions on the `/etc/elasticsearch` director {{es}} loads its configuration from the `/etc/elasticsearch/elasticsearch.yml` file by default. The format of this config file is explained in [](/deploy-manage/deploy/self-managed/configure-elasticsearch.md). -The {{distro}} package also has a system configuration file ({{pkg-conf}}), which allows you to set the following parameters: +The {{distro}} package also has a system configuration file at the following path: + +```txt subs=true +{{pkg-conf}} +``` + +In this file, you can set the following parameters: | Parameter | Description | | --- | --- |