Allow START_CONFLUENCE_JAVA_OPTS to be used as environment variables in setenv.sh

XMLWordPrintable

      In setenv.sh from Confluence server 6.15, please change the following line:

      CATALINA_OPTS="${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}" 

       

      To read:

      CATALINA_OPTS="${CATALINA_OPTS} ${START_CONFLUENCE_JAVA_OPTS}" 

       

      This will allow me to set START_CONFLUENCE_JAVA_OPTS as an environment variable and the values will "override" any values set previously in CATALINA_OPTS.  This is especially true for things like Xms and Xmx.

       

      It is my strong prefernce to set those things as environment variables in my systemd startup service files and NOT have to touch setenv.sh on every upgrade.

       

      Thanks,

       

      -BL

       

            Assignee:
            Unassigned
            Reporter:
            Brian Leveille
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: