We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a1ad3 commit 0a8b32aCopy full SHA for 0a8b32a
jobs/elasticsearch/templates/bin/pre-start
@@ -4,9 +4,6 @@ mkdir -p /var/vcap/packages/elasticsearch/plugins
4
if [ -d /var/vcap/jobs/elasticsearch/config/ssl ]; then
5
chown vcap /var/vcap/jobs/elasticsearch/config/ssl
6
fi
7
-if [ -d /var/vcap/packages/elasticsearch/jdk ]; then
8
- chown -R vcap: /var/vcap/packages/elasticsearch/jdk
9
-fi
10
11
# install plugins
12
rm -rf /var/vcap/packages/elasticsearch/plugins/*
@@ -22,3 +19,5 @@ rm -rf /var/vcap/packages/elasticsearch/plugins/*
22
19
/var/vcap/packages/elasticsearch/bin/elasticsearch-plugin install -b "<%= path %>"
23
20
<% end %>
24
21
+
+cp -p /var/vcap/packages/elasticsearch/config/jvm.options /var/vcap/jobs/elasticsearch/config/jvm.options
0 commit comments