summary refs log tree commit diff
path: root/contrib/systemd-with-workers/workers/federation_reader.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd-with-workers/workers/federation_reader.yaml')
-rw-r--r--contrib/systemd-with-workers/workers/federation_reader.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/systemd-with-workers/workers/federation_reader.yaml b/contrib/systemd-with-workers/workers/federation_reader.yaml
new file mode 100644
index 0000000000..47c54ec0d4
--- /dev/null
+++ b/contrib/systemd-with-workers/workers/federation_reader.yaml
@@ -0,0 +1,14 @@
+worker_app: synapse.app.federation_reader
+
+worker_replication_host: 127.0.0.1
+worker_replication_port: 9092
+worker_replication_http_port: 9093
+
+worker_listeners:
+    - type: http
+      port: 8011
+      resources:
+          - names: [federation]
+
+worker_daemonize: false
+worker_log_config: /etc/matrix-synapse/federation-reader-log.yaml