Fixing svc_args template line spacing-2
This commit is contained in:
parent
a880d8cfba
commit
28537093f2
1 changed files with 8 additions and 3 deletions
|
@ -8,9 +8,14 @@ EnvironmentFile=-/etc/default/{{ svc_name }}
|
||||||
User={{ user }}
|
User={{ user }}
|
||||||
Group={{ user }}
|
Group={{ user }}
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ExecStart=/opt/prometheus/{{ exporter }}/bin/{{ svc_name }} \
|
ExecStart=/opt/prometheus/{{ exporter }}/bin/{{ svc_name }}
|
||||||
{%- if svc_args is string %}{{ svc_args }}{% else %}
|
{%- if svc_args is string %}
|
||||||
{%- for svc_arg in svc_args %} {{ svc_arg }}{% endfor %}
|
{{ svc_args }}
|
||||||
|
{%- else %}
|
||||||
|
{%- for svc_arg in svc_args %}
|
||||||
|
\
|
||||||
|
{{ svc_arg }}
|
||||||
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue