File tree 7 files changed +7
-11
lines changed
distribution/packages/src
7 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 13
13
OPENSEARCH_PATH_CONF=${path.conf}
14
14
15
15
# wazuh-indexer PID directory
16
- #PID_DIR=/var/ run/wazuh-indexer
16
+ #PID_DIR=/run/wazuh-indexer
17
17
18
18
# Additional Java OPTS
19
19
#OPENSEARCH_JAVA_OPTS=
Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ if [ "$REMOVE_DIRS" = "true" ]; then
72
72
echo " OK"
73
73
fi
74
74
75
- if [ -d /var/ run/wazuh-indexer ]; then
75
+ if [ -d /run/wazuh-indexer ]; then
76
76
echo -n "Deleting PID directory..."
77
- rm -rf /var/ run/wazuh-indexer
77
+ rm -rf /run/wazuh-indexer
78
78
echo " OK"
79
79
fi
80
80
Original file line number Diff line number Diff line change 1
- d /var/ run/wazuh-indexer 0750 wazuh-indexer wazuh-indexer - -
1
+ d /run/wazuh-indexer 0750 wazuh-indexer wazuh-indexer - -
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RuntimeDirectory=wazuh-indexer
10
10
PrivateTmp =true
11
11
Environment =OPENSEARCH_HOME =/usr/share/wazuh-indexer
12
12
Environment =OPENSEARCH_PATH_CONF =${path.conf}
13
- Environment =PID_DIR =/var/ run/wazuh-indexer
13
+ Environment =PID_DIR =/run/wazuh-indexer
14
14
Environment =OPENSEARCH_SD_NOTIFY =true
15
15
EnvironmentFile =-${path.env}
16
16
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ product_dir=/usr/share/wazuh-indexer
21
21
# config_dir=/etc/wazuh-indexer
22
22
data_dir=/var/lib/wazuh-indexer
23
23
log_dir=/var/log/wazuh-indexer
24
- pid_dir=/var/ run/wazuh-indexer
24
+ pid_dir=/run/wazuh-indexer
25
25
buildroot=${curdir} /debian/wazuh-indexer
26
26
27
27
# Create necessary directories
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ MAX_OPEN_FILES=65535
39
39
MAX_MAP_COUNT=262144
40
40
OPENSEARCH_PATH_CONF=" ${path.conf} "
41
41
42
- PID_DIR=" /var/ run/wazuh-indexer"
42
+ PID_DIR=" /run/wazuh-indexer"
43
43
44
44
# Source the default env file
45
45
OPENSEARCH_ENV_FILE=" ${path.env} "
Original file line number Diff line number Diff line change @@ -104,10 +104,6 @@ exit 0
104
104
105
105
%post
106
106
set -e
107
- # Apply Security Settings
108
- if [ -d %{product_dir}/plugins/opensearch-security ]; then
109
- sh %{product_dir}/plugins/opensearch-security/tools/install_demo_configuration.sh -y -i -s > %{log_dir}/install_demo_configuration.log 2>&1
110
- fi
111
107
chown -R %{name }.%{name } %{config_dir }
112
108
chown -R %{name }.%{name } %{log_dir }
113
109
# Apply PerformanceAnalyzer Settings
You can’t perform that action at this time.
0 commit comments