Fixing svc_args template line spacing-4

This commit is contained in:
Eric Renfro 2019-05-08 00:31:30 -04:00
parent 7e1e351184
commit 665247bedc
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -10,8 +10,7 @@ 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 %}{{ svc_args }}{% else %}
{%- for svc_arg in svc_args %} {%- for svc_arg in svc_args %} \
\
{{ svc_arg }} {{ svc_arg }}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}