mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
modifying the service script to find the correct pid file for mesh nodes
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
atl_product_family: "stash"
|
atl_product_family: "stash"
|
||||||
atl_product_edition: "mesh"
|
atl_product_edition: "mesh"
|
||||||
atl_product_user: "bitbucket"
|
atl_product_user: "bitbucket"
|
||||||
|
atl_product_home: "{{ atl_home_base }}/{{ atl_product_edition }}"
|
||||||
atl_systemd_service_name: "mesh.service"
|
atl_systemd_service_name: "mesh.service"
|
||||||
atl_startup_systemd_params:
|
atl_startup_systemd_params:
|
||||||
- 'UMask=0027'
|
- 'UMask=0027'
|
||||||
|
|||||||
@@ -17,7 +17,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/{{ atl_product_edition }}.pid
|
||||||
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %}
|
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %}
|
||||||
|
|
||||||
ExecStop={{ atl_stop_exec_path }}
|
ExecStop={{ atl_stop_exec_path }}
|
||||||
|
|||||||
Reference in New Issue
Block a user