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 }}
|
||||
Group={{ user }}
|
||||
Restart=on-failure
|
||||
ExecStart=/opt/prometheus/{{ exporter }}/bin/{{ svc_name }} \
|
||||
{%- if svc_args is string %}{{ svc_args }}{% else %}
|
||||
{%- for svc_arg in svc_args %} {{ svc_arg }}{% endfor %}
|
||||
ExecStart=/opt/prometheus/{{ exporter }}/bin/{{ svc_name }}
|
||||
{%- if svc_args is string %}
|
||||
{{ svc_args }}
|
||||
{%- else %}
|
||||
{%- for svc_arg in svc_args %}
|
||||
\
|
||||
{{ svc_arg }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue