Explorar el Código

Matrix-application

pull/2377/head
Yassine Aouam hace 3 años
padre
commit
958306916b
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  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 fichero

@@ -24,6 +24,7 @@ Once you write the first character, options starting with that character begin t
# log drive update # 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/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 %} {% if matrix_synapse_log_driver %}
--log-driver={{ matrix_synapse_log_driver }} \ --log-driver={{ matrix_synapse_log_driver }} \


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

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


ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name %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 }} \ --user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--mount type=bind,src=/etc/passwd,dst=/etc/passwd,ro \ --mount type=bind,src=/etc/passwd,dst=/etc/passwd,ro \
--mount type=bind,src=/etc/group,dst=/etc/group,ro \ --mount type=bind,src=/etc/group,dst=/etc/group,ro \


Cargando…
Cancelar
Guardar