mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITPLAT-518 adopt suggestions in PR comments
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
- "Environment=JVM_MINIMUM_MEMORY={{ atl_jvm_heap }}"
|
- "Environment=JVM_MINIMUM_MEMORY={{ atl_jvm_heap }}"
|
||||||
- "Environment=JVM_SUPPORT_RECOMMENDED_ARGS={{ atl_jvm_opts }}"
|
- "Environment=JVM_SUPPORT_RECOMMENDED_ARGS={{ atl_jvm_opts }}"
|
||||||
atl_startup_exec_options:
|
atl_startup_exec_options:
|
||||||
- "-fg"
|
|
||||||
- "--no-search"
|
- "--no-search"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
@@ -37,5 +36,5 @@
|
|||||||
- role: product_startup
|
- role: product_startup
|
||||||
- role: bitbucket_dataset_restore
|
- role: bitbucket_dataset_restore
|
||||||
when: atl_bitbucket_dataset_url is search ("(http|https)://")
|
when: atl_bitbucket_dataset_url is search ("(http|https)://")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ StandardError=journal+console
|
|||||||
{# Bitbucket DC sets up its service start/stop logging in a different way to all our other DC offerings and so we exclude it from having the catalina.out redirect and foreground startup #}
|
{# Bitbucket DC sets up its service start/stop logging in a different way to all our other DC offerings and so we exclude it from having the catalina.out redirect and foreground startup #}
|
||||||
{% if (atl_product_family == "stash") %}
|
{% if (atl_product_family == "stash") %}
|
||||||
PIDFile={{ atl_product_home }}/log/bitbucket.pid
|
PIDFile={{ atl_product_home }}/log/bitbucket.pid
|
||||||
ExecStart={{ atl_startup_exec_path }} --no-search
|
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %}
|
||||||
ExecStop={{ atl_startup_exec_path }}
|
ExecStop={{ atl_startup_exec_path }}
|
||||||
{% else -%}
|
{% else -%}
|
||||||
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %} >{{ atl_product_installation_current }}/logs/catalina.out 2>&1
|
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %} >{{ atl_product_installation_current }}/logs/catalina.out 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user