Removed crowd_startup_exec_path

This commit is contained in:
Azra Sulthana
2019-07-12 04:29:47 +00:00
parent 65cb5f66f5
commit 1c46b3cca4
3 changed files with 1 additions and 34 deletions

View File

@@ -8,9 +8,8 @@ atl_startup_script_map:
jira: "start-jira.sh" jira: "start-jira.sh"
confluence: "start-confluence.sh" confluence: "start-confluence.sh"
stash: "start-bitbucket.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_path: "{{ atl_product_installation_current }}/bin/{{ atl_startup_script_map[atl_product_family] }}"
atl_startup_exec_options: ["-fg"] atl_startup_exec_options: ["-fg"]
atl_startup_systemd_params: [] atl_startup_systemd_params: []

View File

@@ -7,19 +7,6 @@
owner: root owner: root
group: root group: root
mode: 0640 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: notify:
- Enable Product - Enable Product
- Restart Product - Restart Product

View File

@@ -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