Fixing svc_args template line spacing-3

This commit is contained in:
Eric Renfro 2019-05-08 00:27:14 -04:00
parent 28537093f2
commit 7e1e351184
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -9,9 +9,7 @@ User={{ user }}
Group={{ user }}
Restart=on-failure
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 %}
\
{{ svc_arg }}