DCD-1089: The systemd installation location depends on the OS.

This commit is contained in:
Steve Smith
2020-08-28 13:07:56 +10:00
parent 5bae465412
commit 657efb77ab
8 changed files with 24 additions and 7 deletions

View File

@@ -14,6 +14,11 @@ atl_startup_exec_path: "{{ atl_product_installation_current }}/{{ atl_startup_sc
atl_startup_exec_options: ["-fg"]
atl_startup_systemd_params: []
atl_systemd_service_dir_map:
amazon: "/usr/lib/systemd/system"
ubuntu: "/lib/systemd/system"
atl_systemd_service_dir: "{{ atl_systemd_service_dir_map[ansible_distribution|lower] }}"
atl_systemd_service_name: "{{ atl_product_edition }}.service"
atl_systemd_service_target: "multi-user.target"