ITPLAT-518 adopt suggestions in PR comments

This commit is contained in:
Brett Meehan
2021-03-03 15:35:20 +11:00
parent ce7b3b3e43
commit 62ae18d90b
2 changed files with 2 additions and 3 deletions

View File

@@ -22,7 +22,6 @@
- "Environment=JVM_MINIMUM_MEMORY={{ atl_jvm_heap }}"
- "Environment=JVM_SUPPORT_RECOMMENDED_ARGS={{ atl_jvm_opts }}"
atl_startup_exec_options:
- "-fg"
- "--no-search"
roles:
@@ -37,5 +36,5 @@
- role: product_startup
- role: bitbucket_dataset_restore
when: atl_bitbucket_dataset_url is search ("(http|https)://")

View File

@@ -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 #}
{% if (atl_product_family == "stash") %}
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 }}
{% else -%}
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %} >{{ atl_product_installation_current }}/logs/catalina.out 2>&1