Minor corrections.

This commit is contained in:
Hans van Zijst 2024-12-22 22:17:37 +01:00
parent 62f540f521
commit e891ba9e6e
No known key found for this signature in database
GPG key ID: ECF8564FB15A8216

View file

@ -109,7 +109,7 @@ sure nginx can write to them: add user `www-data` to group `matrix-synapse`
and restart nginx. and restart nginx.
Then, make sure systemd creates the directory for the sockets as soon as Then, make sure systemd creates the directory for the sockets as soon as
Synapse starts, and let it have the correct group. Synapse starts:
``` ```
systemctl edit matrix-synapse systemctl edit matrix-synapse
@ -144,7 +144,7 @@ listeners:
- consent - consent
- federation - federation
- path: /run/matrix-synapse/replication.sock - path: /run/matrix-synapse/replication_main.sock
mode: 0660 mode: 0660
type: http type: http
resources: resources:
@ -154,7 +154,7 @@ listeners:
This means Synapse will create two sockets under `/run/matrix-synapse`: one This means Synapse will create two sockets under `/run/matrix-synapse`: one
for incoming traffic that is forwarded by nginx (`inbound_main.sock`), and one for for incoming traffic that is forwarded by nginx (`inbound_main.sock`), and one for
communicating with all the other workers (`replication.sock`). communicating with all the other workers (`replication_main.sock`).
If you restart Synapse now, it won't do anything anymore, because nginx is If you restart Synapse now, it won't do anything anymore, because nginx is
still forwarding its traffic to `localhost:8008`. We'll get to nginx later, still forwarding its traffic to `localhost:8008`. We'll get to nginx later,
@ -214,7 +214,7 @@ We'll create the following workers:
* accountdata * accountdata
* presence * presence
* receipts * receipts
* initial_sync: 1, 2, 3 and 4 * initial_sync: 1 and 2
* normal_sync: 1, 2 and 3 * normal_sync: 1, 2 and 3
Some of them are `stream_writers`, and the [documentation about Some of them are `stream_writers`, and the [documentation about