From d0041b07a760c3c461ae1eeee481ed9b0e7e16be Mon Sep 17 00:00:00 2001 From: "Aguiar, Valentino" Date: Fri, 22 Apr 2022 09:01:05 +0100 Subject: [PATCH] Compare if statement for service desk v software --- templates/setenv.sh.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/setenv.sh.epp b/templates/setenv.sh.epp index 5c724d27..271be6c2 100755 --- a/templates/setenv.sh.epp +++ b/templates/setenv.sh.epp @@ -38,7 +38,7 @@ JVM_CODE_CACHE_ARGS='<%= pick_default($jira::jvm_code_cache_args, $jira::config: # # The following are the required arguments for Jira. # -<%- if versioncmp($jira::version, '8.11.0') > 0 { -%> +<%- if ($jira::product != "servicedesk" and versioncmp($jira::version, '8.11.0') > 0) or ($jira::product == "servicedesk" and (versioncmp($jira::version, '4.11.0') > 0)){ -%> 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' <% } else { -%> JVM_REQUIRED_ARGS='-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true'