diff --git a/roles/product_startup/templates/product.service.j2 b/roles/product_startup/templates/product.service.j2 index ac52bc3..4e25de7 100644 --- a/roles/product_startup/templates/product.service.j2 +++ b/roles/product_startup/templates/product.service.j2 @@ -19,7 +19,7 @@ StandardError=journal+console {% if (atl_product_family == "stash") %} PIDFile={{ atl_product_home }}/log/bitbucket.pid ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %} -ExecStop={{ atl_startup_exec_path }} +ExecStop={{ atl_stop_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 {% endif %}