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.
This commit is contained in:
Amélie-Laura Lilith Krejčí
2026-02-12 02:26:44 +01:00
parent 014380eecd
commit 81b90a7089

View File

@@ -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 %}