DCD-386: Rework product_startup to support more systemd params and add tests for some corner cases.

This commit is contained in:
Steve Smith
2019-05-31 10:52:58 +10:00
parent 54eaed5469
commit 9e2eb50a6b
15 changed files with 281 additions and 1 deletions

View File

@@ -6,7 +6,12 @@ After=network-online.target
User={{ atl_product_user }}
Group={{ atl_product_user }}
ExecStart={{ atl_product_installation_current }}/bin/{{ atl_startup_script_map[atl_product_family] }} -fg
{% for p in atl_startup_systemd_params -%}
{{ p }}
{% endfor %}
ExecStart={{ atl_startup_exec_path }}{% for c in atl_startup_exec_options %} {{ c }}{% endfor %}
Restart=on-failure
[Install]