Fixing svc_args template line spacing
This commit is contained in:
parent
d8f1198749
commit
a880d8cfba
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue