summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorvillepeh <100730729+villepeh@users.noreply.github.com>2022-09-21 17:58:46 +0300
committerGitHub <noreply@github.com>2022-09-21 15:58:46 +0100
commit269eddad6f922efcf1cb611a37165b7c1391d9db (patch)
tree1725b5125b88da43a11529e871c05e7fbec52bb6 /contrib
parentSupport enabling/disabling pushers (from MSC3881) (#13799) (diff)
downloadsynapse-269eddad6f922efcf1cb611a37165b7c1391d9db.tar.xz
Add `worker_main_http_uri` to the contrib bash script (#13772)
* Add worker_main_http_uri, replace >> with >

Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
Co-authored-by: Erik Johnston <erik@matrix.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/workers-bash-scripts/create-multiple-generic-workers.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/workers-bash-scripts/create-multiple-generic-workers.md b/contrib/workers-bash-scripts/create-multiple-generic-workers.md
index d303101429..c9be707b3c 100644
--- a/contrib/workers-bash-scripts/create-multiple-generic-workers.md
+++ b/contrib/workers-bash-scripts/create-multiple-generic-workers.md
@@ -7,7 +7,7 @@ You can alternatively create multiple worker configuration files with a simple `
 #!/bin/bash
 for i in {1..5}
 do
-cat << EOF >> generic_worker$i.yaml
+cat << EOF > generic_worker$i.yaml
 worker_app: synapse.app.generic_worker
 worker_name: generic_worker$i
 
@@ -15,6 +15,8 @@ worker_name: generic_worker$i
 worker_replication_host: 127.0.0.1
 worker_replication_http_port: 9093
 
+worker_main_http_uri: http://localhost:8008/
+
 worker_listeners:
   - type: http
     port: 808$i