Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58273

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

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            8db810f76ce2 Brian Leveille
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: