Ver a proveniência

Matrix-application

pull/2377/head
Yassine Aouam há 3 anos
ascendente
cometimento
958306916b
2 ficheiros alterados com 6 adições e 1 eliminações
  1. +1
    -0
      docs/new_modif.md
  2. +5
    -1
      roles/custom/matrix-synapse/templates/goofys/systemd/matrix-goofys.service.j2

+ 1
- 0
docs/new_modif.md Ver ficheiro

@@ -24,6 +24,7 @@ Once you write the first character, options starting with that character begin t
# log drive update

matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse-worker.service.j2
matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/goofys/systemd/matrix-goofys.service.j2

{% if matrix_synapse_log_driver %}
--log-driver={{ matrix_synapse_log_driver }} \


+ 5
- 1
roles/custom/matrix-synapse/templates/goofys/systemd/matrix-goofys.service.j2 Ver ficheiro

@@ -12,7 +12,11 @@ ExecStartPre=-{{ devture_systemd_docker_base_host_command_docker }} kill %n
ExecStartPre=-{{ devture_systemd_docker_base_host_command_docker }} rm %n

ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name %n \
--log-driver=json-file \
{% if matrix_synapse_log_driver %}
--log-driver={{ matrix_synapse_log_driver }} \
{% else %}
--log-driver=none \
{% endif %}
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--mount type=bind,src=/etc/passwd,dst=/etc/passwd,ro \
--mount type=bind,src=/etc/group,dst=/etc/group,ro \


Carregando…
Cancelar
Guardar