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:
parent
ae391db777
commit
0371a354cf
|
@ -0,0 +1 @@
|
||||||
|
Better clarify how to run a worker instance (pass both configs).
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue