Better clarify how to run a worker instance (pass both configs) (#15921)

Previously, if you just followed the instructions per the docs, you just ran into an error:

```sh
$ poetry run synapse_worker --config-path homeserver_generic_worker1.yaml

Missing mandatory `server_name` config option.
```
This commit is contained in:
Eric Eastwood 2023-07-11 17:13:54 -05:00 committed by GitHub
parent ae391db777
commit 0371a354cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

1
changelog.d/15921.doc Normal file
View File

@ -0,0 +1 @@
Better clarify how to run a worker instance (pass both configs).

View File

@ -177,11 +177,11 @@ The following applies to Synapse installations that have been installed from sou
You can start the main Synapse process with Poetry by running the following command: You can start the main Synapse process with Poetry by running the following command:
```console ```console
poetry run synapse_homeserver -c [your homeserver.yaml] poetry run synapse_homeserver --config-file [your homeserver.yaml]
``` ```
For worker setups, you can run the following command For worker setups, you can run the following command
```console ```console
poetry run synapse_worker -c [your worker.yaml] poetry run synapse_worker --config-file [your homeserver.yaml] --config-file [your worker.yaml]
``` ```
## Available worker applications ## Available worker applications