瀏覽代碼

Fix Dendrite extra arguments getting lost

Move the `matrix_dendrite_process_extra_arguments` line up so it doesn't get lost, and add a trailing backslash
pull/1999/head
Charles Wright 3 年之前
committed by GitHub
父節點
當前提交
cad5d56011
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roles/matrix-dendrite/templates/dendrite/systemd/matrix-dendrite.service.j2

+ 1
- 1
roles/matrix-dendrite/templates/dendrite/systemd/matrix-dendrite.service.j2 查看文件

@@ -46,13 +46,13 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-dendrite \
{% endfor %} {% endfor %}
{{ matrix_dendrite_docker_image }} \ {{ matrix_dendrite_docker_image }} \
-config /data/dendrite.yaml \ -config /data/dendrite.yaml \
{{ matrix_dendrite_process_extra_arguments|join(' ') }} \
{% if matrix_dendrite_http_bind_address %} {% if matrix_dendrite_http_bind_address %}
-http-bind-address {{ matrix_dendrite_http_bind_address }} -http-bind-address {{ matrix_dendrite_http_bind_address }}
{% endif %} {% endif %}
{% if matrix_dendrite_https_bind_address %} {% if matrix_dendrite_https_bind_address %}
-https-bind-address {{ matrix_dendrite_https_bind_address }} -https-bind-address {{ matrix_dendrite_https_bind_address }}
{% endif %} {% endif %}
{{ matrix_dendrite_process_extra_arguments|join(' ') }}


ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-dendrite 2>/dev/null || true' ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-dendrite 2>/dev/null || true'
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-dendrite 2>/dev/null || true' ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-dendrite 2>/dev/null || true'


Loading…
取消
儲存