Skip to content

Commit d0041b0

Browse files
Compare if statement for service desk v software
1 parent 6fb7fb9 commit d0041b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/setenv.sh.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ JVM_CODE_CACHE_ARGS='<%= pick_default($jira::jvm_code_cache_args, $jira::config:
3838
#
3939
# The following are the required arguments for Jira.
4040
#
41-
<%- if versioncmp($jira::version, '8.11.0') > 0 { -%>
41+
<%- if ($jira::product != "servicedesk" and versioncmp($jira::version, '8.11.0') > 0) or ($jira::product == "servicedesk" and (versioncmp($jira::version, '4.11.0') > 0)){ -%>
4242
JVM_REQUIRED_ARGS='-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory'
4343
<% } else { -%>
4444
JVM_REQUIRED_ARGS='-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true'

0 commit comments

Comments
 (0)