Make systemd.service more consistent
This file doesn't need to change based on the whims of which order the after_targets decide to jumble themselves into. By sorting the after_targets we get less changes. Change-Id: I7cba791c6d6d90390e5adaf63a4797cbc320cbc5
This commit is contained in:
parent
3c924d2531
commit
1cc15d7923
@ -3,7 +3,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description={{ item.service_name }} service
|
Description={{ item.service_name }} service
|
||||||
{% set after_targets = item.after_targets | default(systemd_after_targets) %}
|
{% set after_targets = item.after_targets | default(systemd_after_targets) %}
|
||||||
{% for target in after_targets %}
|
{% for target in after_targets | sort %}
|
||||||
After={{ target }}
|
After={{ target }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for item in systemd_unit_docs %}
|
{% for item in systemd_unit_docs %}
|
||||||
|
Loading…
Reference in New Issue
Block a user