mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
Removed crowd_startup_exec_path
This commit is contained in:
@@ -8,9 +8,8 @@ atl_startup_script_map:
|
||||
jira: "start-jira.sh"
|
||||
confluence: "start-confluence.sh"
|
||||
stash: "start-bitbucket.sh"
|
||||
crowd: "start_crowd.sh"
|
||||
crowd: "../start_crowd.sh"
|
||||
|
||||
crowd_startup_exec_path: "{{ atl_product_installation_current }}/{{ atl_startup_script_map[atl_product_family] }}"
|
||||
atl_startup_exec_path: "{{ atl_product_installation_current }}/bin/{{ atl_startup_script_map[atl_product_family] }}"
|
||||
atl_startup_exec_options: ["-fg"]
|
||||
atl_startup_systemd_params: []
|
||||
|
||||
@@ -7,19 +7,6 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0640
|
||||
when: atl_product_edition != "crowd"
|
||||
notify:
|
||||
- Enable Product
|
||||
- Restart Product
|
||||
|
||||
- name: "Install systemd service file for crowd"
|
||||
template:
|
||||
src: "crowd.service.j2"
|
||||
dest: "/etc/systemd/system/{{ atl_systemd_service_name }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0640
|
||||
when: atl_product_edition == "crowd"
|
||||
notify:
|
||||
- Enable Product
|
||||
- Restart Product
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
[Unit]
|
||||
Description=Atlassian {{ atl_product_edition }}
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User={{ atl_product_user }}
|
||||
Group={{ atl_product_user }}
|
||||
|
||||
{% for p in atl_startup_systemd_params -%}
|
||||
{{ p }}
|
||||
{% endfor %}
|
||||
|
||||
ExecStart={{ crowd_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %}
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-target.target
|
||||
|
||||
Reference in New Issue
Block a user