forked from ISTI-ansible-roles/ansible-roles
library/roles/tomcat-multiple-instances/templates/tomcat-default.j2: Fix the JVM tmp directory path.
This commit is contained in:
parent
ca3288840f
commit
3f86df0baa
|
@ -51,7 +51,11 @@ JAVA_OPTS="${JAVA_OPTS} -XX:+DisableAttachMechanism -Dcom.sun.management.jmxremo
|
|||
JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,address={{ item.remote_debugging_port }},server=y,suspend=n"
|
||||
{% endif %}
|
||||
# WARNING: This directory will be destroyed and recreated at every startup !
|
||||
JVM_TMP={{ item.instance_path }}/tmp
|
||||
{% if item.catalina_tmp_directory is defined %}
|
||||
JVM_TMP={{ item.catalina_tmp_directory }}/jvm_tmp
|
||||
{% else %}
|
||||
JVM_TMP={{ item.instance_path }}/tmp/jvm_tmp
|
||||
{% endif %}
|
||||
{% if item.catalina_tmp_directory is defined %}
|
||||
export CATALINA_TMPDIR={{ item.catalina_tmp_directory }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue