Update roles/matrix-prometheus/templates/systemd/matrix-prometheus.service.j2

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
development
Aine 2 years ago committed by GitHub
parent 574f57c82c
commit 1542e8bca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,8 +31,7 @@ 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_process_extra_arguments|join(' ') }}
{{ 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'

Loading…
Cancel
Save