switch node name to first parameter so we don't need to deal with leading spaces if jvm args is empty.

This commit is contained in:
Geoff Jacobs
2022-11-15 14:57:46 +11:00
parent 2df4b7d1e1
commit 4322c6583b

View File

@@ -25,7 +25,7 @@
- "Environment=JAVA_HOME=/usr/lib/jvm/java"
- "Environment=JVM_MAXIMUM_MEMORY={{ atl_jvm_heap }}"
- "Environment=JVM_MINIMUM_MEMORY={{ atl_jvm_heap }}"
- "Environment=JVM_SUPPORT_RECOMMENDED_ARGS={{ atl_jvm_opts }} -Dcluster.node.name={{ bitbucket_cluster_node_name }}"
- "Environment=JVM_SUPPORT_RECOMMENDED_ARGS=-Dcluster.node.name={{ bitbucket_cluster_node_name }} {{ atl_jvm_opts }}"
atl_startup_exec_options:
- "--no-search"