Skip to content

Commit 95061fa

Browse files
author
Rajat Gupta
committed
Modify systemd env file to be in sync with opensearch-build
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
1 parent fb983cc commit 95061fa

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

distribution/packages/src/common/env/opensearch

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
################################
44

55
# OpenSearch home directory
6-
#OPENSEARCH_HOME=/usr/share/opensearch
6+
OPENSEARCH_HOME=/usr/share/opensearch
77

88
# OpenSearch Java path
9-
#OPENSEARCH_JAVA_HOME=
9+
#OPENSEARCH_JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto
1010

1111
# OpenSearch configuration directory
1212
# Note: this setting will be shared with command-line tools
13-
OPENSEARCH_PATH_CONF=${path.conf}
13+
OPENSEARCH_PATH_CONF=/etc/opensearch
1414

1515
# OpenSearch PID directory
16-
#PID_DIR=/var/run/opensearch
16+
PID_DIR=/var/run/opensearch
1717

1818
# Additional Java OPTS
1919
#OPENSEARCH_JAVA_OPTS=
@@ -25,11 +25,12 @@ OPENSEARCH_PATH_CONF=${path.conf}
2525
# OpenSearch service
2626
################################
2727

28-
# SysV init.d
29-
#
3028
# The number of seconds to wait before checking if OpenSearch started successfully as a daemon process
3129
OPENSEARCH_STARTUP_SLEEP_TIME=5
3230

31+
# Notification for systemd
32+
OPENSEARCH_SD_NOTIFY=true
33+
3334
################################
3435
# System properties
3536
################################
@@ -49,4 +50,4 @@ OPENSEARCH_STARTUP_SLEEP_TIME=5
4950
# Maximum number of VMA (Virtual Memory Areas) a process can own
5051
# When using Systemd, this setting is ignored and the 'vm.max_map_count'
5152
# property is set at boot time in /usr/lib/sysctl.d/opensearch.conf
52-
#MAX_MAP_COUNT=262144
53+
#MAX_MAP_COUNT=262144

0 commit comments

Comments
 (0)