mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
Merged in DCD-431-fix-service-startup-target (pull request #40)
DCD-431: Fix incorrect service start-up target and make configurable. Approved-by: Ben Partridge <bpartridge@atlassian.com> Approved-by: Adam Brokes <abrokes@atlassian.com>
This commit is contained in:
@@ -14,5 +14,6 @@ atl_startup_exec_path: "{{ atl_product_installation_current }}/{{ atl_startup_sc
|
|||||||
atl_startup_exec_options: ["-fg"]
|
atl_startup_exec_options: ["-fg"]
|
||||||
atl_startup_systemd_params: []
|
atl_startup_systemd_params: []
|
||||||
|
|
||||||
|
|
||||||
atl_systemd_service_name: "{{ atl_product_edition }}.service"
|
atl_systemd_service_name: "{{ atl_product_edition }}.service"
|
||||||
|
|
||||||
|
atl_systemd_service_target: "multi-user.target"
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{
|
|||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-target.target
|
WantedBy={{ atl_systemd_service_target }}
|
||||||
|
|||||||
Reference in New Issue
Block a user