Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Better clarify how to run a worker instance (pass both configs) (matr…
Browse files Browse the repository at this point in the history
…ix-org#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.
```
  • Loading branch information
MadLittleMods authored and Fizzadar committed Aug 31, 2023
1 parent e2e7e15 commit 2695a77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/15921.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Better clarify how to run a worker instance (pass both configs).
4 changes: 2 additions & 2 deletions docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```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
```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

Expand Down

0 comments on commit 2695a77

Please sign in to comment.