Ver código fonte

Fix syntax for connecting to additional networks for Hookshot

pull/3042/head
Slavi Pantaleev 2 anos atrás
committed by GitHub
pai
commit
74f91138c9
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 3 adições e 1 exclusões
  1. +3
    -1
      roles/custom/matrix-bridge-hookshot/templates/systemd/matrix-hookshot.service.j2

+ 3
- 1
roles/custom/matrix-bridge-hookshot/templates/systemd/matrix-hookshot.service.j2 Ver arquivo

@@ -29,7 +29,9 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm -
{% endfor %}
{{ matrix_hookshot_docker_image }}

{% for network in matrix_hookshot_container_additional_networks %}ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network ]] {{ matrix_hookshot_container_ident }}{% endfor %}
{% for network in matrix_hookshot_container_additional_networks %}
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_hookshot_container_ident }}
{% endfor %}

ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_hookshot_container_ident }}



Carregando…
Cancelar
Salvar