Fixing svc_args template line spacing-3
This commit is contained in:
parent
28537093f2
commit
7e1e351184
1 changed files with 1 additions and 3 deletions
|
@ -9,9 +9,7 @@ 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 %}
|
{%- if svc_args is string %}{{ svc_args }}{% else %}
|
||||||
{{ svc_args }}
|
|
||||||
{%- else %}
|
|
||||||
{%- for svc_arg in svc_args %}
|
{%- for svc_arg in svc_args %}
|
||||||
\
|
\
|
||||||
{{ svc_arg }}
|
{{ svc_arg }}
|
||||||
|
|
Loading…
Reference in a new issue