Skip to content

[7.17] Document how to set ES_TMPDIR in the service file (#93121)#93135

Merged
elasticsearchmachine merged 1 commit intoelastic:7.17from
DaveCTurner:backport/7.17/pr-93121
Jan 23, 2023
Merged

[7.17] Document how to set ES_TMPDIR in the service file (#93121)#93135
elasticsearchmachine merged 1 commit intoelastic:7.17from
DaveCTurner:backport/7.17/pr-93121

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Backports the following commits to 7.17:

Today we suggest that users set `ES_TMPDIR` using `export`, which only
works if you're running things directly from the shell. Yet most users
encountering `ES_TMPDIR` problems seem to on RHEL and trying to run
things via `systemd`, for whom the `export` suggestion doesn't work.

This commit adds to the docs a suggestion of how to adjust the `systemd`
service file to set the appropriate environment variable.

Relates elastic#80651
@DaveCTurner DaveCTurner added :Core/Infra/Core Core issues without another label >docs General docs changes auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team Team:Docs Meta label for docs team labels Jan 23, 2023
@elasticsearchmachine elasticsearchmachine merged commit a4374fe into elastic:7.17 Jan 23, 2023
@DaveCTurner DaveCTurner deleted the backport/7.17/pr-93121 branch January 23, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Core Core issues without another label >docs General docs changes Team:Core/Infra Meta label for core/infra team Team:Docs Meta label for docs team v7.17.9

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants