소스 검색

Be explicit about the UID/GID we start Synapse with

We do match the defaults anyway (by default that is),
but people can customize `matrix_user_uid` and `matrix_user_uid`
and it wouldn't be correct then.

In any case, it's better to be explicit about such an important thing.
pull/84/head
Slavi Pantaleev 7 년 전
부모
커밋
56d501679d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      roles/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2

+ 2
- 0
roles/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 파일 보기

@@ -23,6 +23,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-synapse \
--network={{ matrix_docker_network }} \
-e SYNAPSE_CONFIG_PATH=/data/homeserver.yaml \
-e SYNAPSE_CACHE_FACTOR={{ matrix_synapse_cache_factor }} \
-e UID={{ matrix_user_uid }} \
-e GID={{ matrix_user_gid }} \
{% if matrix_synapse_federation_enabled %}
-p 8448:8448 \
{% endif %}


불러오는 중...
취소
저장