Skip to content

Commit 9d7eedd

Browse files
authored
Merge pull request voxpupuli#188 from Tokynet/fixjavaopts
moving end statement to allow values from java_opts to be applied to …
2 parents ec8692d + 3e56cfb commit 9d7eedd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

templates/setenv.sh.erb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ echo "--------------------------------------------------------------------------
7070
JVM_MINIMUM_MEMORY="<%= scope['confluence::jvm_xms'] %>"
7171
JVM_MAXIMUM_MEMORY="<%= scope['confluence::jvm_xmx'] %>"
7272
JVM_PERMGEN_MEMORY="<%= scope['confluence::jvm_permgen'] %>"
73+
<%- end -%>
7374

7475
#
7576
# Additional JAVA_OPTS
7677
#
7778
JAVA_OPTS="<%= scope['confluence::java_opts'] %> $JAVA_OPTS"
7879
export JAVA_OPTS
79-
<%- end -%>
8080
<%- if version[0] >= 5 -%>
8181

8282
# Set the JVM arguments used to start Confluence. For a description of the options, see
@@ -126,4 +126,3 @@ CATALINA_OPTS="<%= catalina_opts %> ${CATALINA_OPTS}"
126126

127127
export CATALINA_OPTS
128128
<%- end # if version[0] >= 5 -%>
129-

0 commit comments

Comments
 (0)