summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/15921.doc1
-rw-r--r--docs/workers.md4
2 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/15921.doc b/changelog.d/15921.doc
new file mode 100644
index 0000000000..02f34c73d5
--- /dev/null
+++ b/changelog.d/15921.doc
@@ -0,0 +1 @@
+Better clarify how to run a worker instance (pass both configs).
diff --git a/docs/workers.md b/docs/workers.md
index 735cd3f18d..cf9c0add82 100644
--- a/docs/workers.md
+++ b/docs/workers.md
@@ -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