Skip to content

Commit

Permalink
Suggest systemd override file instead of unit file for tmpdir (#93211) (
Browse files Browse the repository at this point in the history
#93215)

The systemd unit file is part of the Elasticsearch package and should
not be edited. Instead, we recommend creating a service override file.
This commit tweaks the docs for setting tmp dir with systemd to use the
override file instead of editing the unit file.

relates #93121
  • Loading branch information
rjernst committed Jan 24, 2023
1 parent a4374fe commit 71c7534
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/reference/setup/sysconfig/executable-jna-tmpdir.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ instance:
export ES_TMPDIR=/usr/share/elasticsearch/tmp
--------------------------------------------

* If you are using `systemd` to run {es} as a service, using the `systemctl`
command, add the following line to the `[Service]` section of your
`elasticsearch.service` unit file:
* If you are using `systemd` to run {es} as a service, add the following
line to the `[Service]` section in a <<systemd,service override file>>:
+
[source,text]
--------------------------------------------
Expand Down

0 comments on commit 71c7534

Please sign in to comment.