mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-224: Add required environment to Jira service file.
This commit is contained in:
@@ -47,3 +47,12 @@ atl_jdbc_url: "jdbc:postgresql://{{ atl_db_host }}:{{ atl_db_port }}/{{ atl_jdbc
|
|||||||
|
|
||||||
atl_jvm_heap: "{{ lookup('env', 'ATL_JVM_HEAP) or '2048m' }}"
|
atl_jvm_heap: "{{ lookup('env', 'ATL_JVM_HEAP) or '2048m' }}"
|
||||||
atl_catalina_opts: "{{ lookup('env', 'ATL_CATALINA_OPTS) or '' }}"
|
atl_catalina_opts: "{{ lookup('env', 'ATL_CATALINA_OPTS) or '' }}"
|
||||||
|
atl_catalina_opts_extra: >-
|
||||||
|
-XX:+UseG1GC
|
||||||
|
-XX:+PrintAdaptiveSizePolicy
|
||||||
|
-XX:+PrintGCDetails
|
||||||
|
-XX:NumberOfGCLogFiles=10
|
||||||
|
-XX:GCLogFileSize=5m
|
||||||
|
-XX:+UseGCLogFileRotation
|
||||||
|
-XX:+PrintTenuringDistribution
|
||||||
|
-Dfile.encoding=UTF-8
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ After=network-online.target
|
|||||||
User={{ atl_product_user }}
|
User={{ atl_product_user }}
|
||||||
Group={{ atl_product_user }}
|
Group={{ atl_product_user }}
|
||||||
|
|
||||||
|
Environment=JIRA_HOME="{{ atl_product_home }}"
|
||||||
|
Environment=CATALINA_OPTS="{{ atl_catalina_opts }} {{ atl_catalina_opts }}"
|
||||||
ExecStart={{ atl_product_installation_target }}/bin/start-jira.sh -fg
|
ExecStart={{ atl_product_installation_target }}/bin/start-jira.sh -fg
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user