mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 20:53:52 +01:00
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
2 changed files with 3 additions and 2 deletions
1
changelog.d/15921.doc
Normal file
1
changelog.d/15921.doc
Normal file
|
@ -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 a new issue