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 }}
|
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 %}{{ svc_args }}{% else %}
|
||||||
{% for svc_arg in svc_args %} {{ svc_arg }}{% endfor %}
|
{%- for svc_arg in svc_args %} {{ svc_arg }}{% endfor %}
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue