From 81b90a7089932b575fb78ec4c21b6af61ca6ca0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ame=CC=81lie-Laura=20Lilith=20Krejc=CC=8Ci=CC=81?= Date: Thu, 12 Feb 2026 02:26:44 +0100 Subject: [PATCH] Fix regression introduced in a77a875 matrix_synapse_systemd_service_post_start_delay_seconds is assigned a string value, and setup fails while creating the service file. It is impossible to compare str and int. --- .../templates/synapse/systemd/matrix-synapse.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 b/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 index e23444d8e..f9ec1da66 100644 --- a/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 +++ b/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 @@ -74,7 +74,7 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach m ExecStartPost={{ matrix_synapse_systemd_healthcheck_command }} {% endif %} -{% if matrix_synapse_systemd_service_post_start_delay_seconds > 0 %} +{% if matrix_synapse_systemd_service_post_start_delay_seconds | int > 0 %} ExecStartPost=-{{ matrix_host_command_sleep }} {{ matrix_synapse_systemd_service_post_start_delay_seconds }} {% endif %}