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

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
Aine 2022-06-26 06:59:46 +00:00 committed by GitHub
parent 574f57c82c
commit 1542e8bca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'