瀏覽代碼

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.
pull/4914/head
Amélie-Laura Lilith Krejčí 2 週之前
父節點
當前提交
81b90a7089
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 9ACEDB3BF0A8395C
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2

+ 1
- 1
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 %}



Loading…
取消
儲存