expose prometheus process args

This commit is contained in:
Aine
2022-06-26 08:41:22 +03:00
parent fcf1ca2792
commit 574f57c82c
2 changed files with 9 additions and 1 deletions

View File

@ -31,7 +31,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-prometheus \
{% for arg in matrix_prometheus_container_extra_arguments %}
{{ arg }} \
{% endfor %}
{{ matrix_prometheus_docker_image }}
{{ matrix_prometheus_docker_image }} \
{{ matrix_prometheus_process_extra_arguments|join(' ') }}
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus 2>/dev/null || true'
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus 2>/dev/null || true'