File tree 1 file changed +12
-3
lines changed
docs/reference/setup/sysconfig 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -92,16 +92,25 @@ specified via systemd.
92
92
The systemd service file (`/usr/lib/systemd/system/elasticsearch.service`)
93
93
contains the limits that are applied by default.
94
94
95
- To override these, add a file called
96
- `/etc/systemd/system/elasticsearch.service.d/elasticsearch.conf` and specify
97
- any changes in that file, such as:
95
+ To override them, add a file called
96
+ `/etc/systemd/system/elasticsearch.service.d/override.conf` (alternatively,
97
+ you may run `sudo systemctl edit elasticsearch` which opens the file
98
+ automatically inside your default editor). Set any changes in this file,
99
+ such as:
98
100
99
101
[source,sh]
100
102
---------------------------------
101
103
[Service]
102
104
LimitMEMLOCK=infinity
103
105
---------------------------------
104
106
107
+ Once finished, run the following command to reload units:
108
+
109
+ [source,sh]
110
+ ---------------------------------
111
+ sudo systemctl daemon-reload
112
+ ---------------------------------
113
+
105
114
[[jvm-options]]
106
115
==== Setting JVM options
107
116
You can’t perform that action at this time.
0 commit comments