Fixing svc_args template line spacing-2

This commit is contained in:
Eric Renfro 2019-05-08 00:17:10 -04:00
parent a880d8cfba
commit 28537093f2
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -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]