modifying the service script to find the correct pid file for mesh nodes

This commit is contained in:
Geoff Jacobs
2022-08-31 15:07:29 +10:00
parent 88d9f4c4fe
commit b16d16a0fc
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
atl_product_family: "stash"
atl_product_edition: "mesh"
atl_product_user: "bitbucket"
atl_product_home: "{{ atl_home_base }}/{{ atl_product_edition }}"
atl_systemd_service_name: "mesh.service"
atl_startup_systemd_params:
- 'UMask=0027'

View File

@@ -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 #}
{% 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 %}
ExecStop={{ atl_stop_exec_path }}