Skip to content

Commit 9c5f8b8

Browse files
Debian pkg config file updated in snippet (#1457)
Minor change to fix the package configuration file in the Debian installation guide, which was incorrectly set to the RPM based file. @shainaraskas : As the content came from a reused snippet we have lost the code formatting. Let me know your preference here. If you want to not use the `snippet` for this block of content or if we keep using it and we lose the code formatting. If we use \`{{pkg-conf}}\` the substitution doesn't work. I'm going to write a docs-builder issue to see if we can support inline code blocks with substitutions. Closes #1430 --------- Co-authored-by: shainaraskas <[email protected]>
1 parent 6df1637 commit 9c5f8b8

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

deploy-manage/deploy/self-managed/_snippets/etc-elasticsearch.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ The `setgid` flag applies group permissions on the `/etc/elasticsearch` director
44

55
{{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).
66

7-
The {{distro}} package also has a system configuration file (`/etc/sysconfig/elasticsearch`), which allows you to set the following parameters:
7+
The {{distro}} package also has a system configuration file at the following path:
8+
9+
```txt subs=true
10+
{{pkg-conf}}
11+
```
12+
13+
In this file, you can set the following parameters:
814

915
| Parameter | Description |
1016
| --- | --- |
@@ -14,5 +20,5 @@ The {{distro}} package also has a system configuration file (`/etc/sysconfig/ela
1420
| `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. |
1521

1622
::::{note}
17-
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.
23+
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.
1824
::::

deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ sub:
1313
distro: Debian
1414
export: "export "
1515
escape: \
16+
pkg-conf: /etc/default/elasticsearch
1617
---
1718

1819
# Install {{es}} with a Debian package [deb]

deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ sub:
1212
slash: /
1313
distro: RPM
1414
export: export
15+
pkg-conf: /etc/sysconfig/elasticsearch
1516
---
1617

1718
# Install {{es}} with RPM [rpm]

0 commit comments

Comments
 (0)