Fixing svc_args template line spacing

This commit is contained in:
Eric Renfro 2019-05-08 00:14:35 -04:00
parent d8f1198749
commit a880d8cfba
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -9,9 +9,9 @@ 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 %}
{% endif %}
{%- if svc_args is string %}{{ svc_args }}{% else %}
{%- for svc_arg in svc_args %} {{ svc_arg }}{% endfor %}
{%- endif %}
[Install]
WantedBy=multi-user.target