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

Commit

Permalink
Document how to start Synapse with Poetry (#14892)
Browse files Browse the repository at this point in the history
* Add Start Synapse with Poetry

* Create 14892.doc

* Apply suggestions from code review

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Update docs/workers.md

---------

Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 16, 2023
1 parent ffc2ee5 commit ad1f3fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/14892.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document how to start Synapse with Poetry. Contributed by @thezaidbintariq.
11 changes: 11 additions & 0 deletions docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,18 @@ recommend the use of `systemd` where available: for information on setting up
[Systemd with Workers](systemd-with-workers/). To use `synctl`, see
[Using synctl with Workers](synctl_workers.md).

## Start Synapse with Poetry

The following applies to Synapse installations that have been installed from source using `poetry`.

You can start the main Synapse process with Poetry by running the following command:
```console
poetry run synapse_homeserver -c [your homeserver.yaml]
```
For worker setups, you can run the following command
```console
poetry run synapse_worker -c [your worker.yaml]
```
## Available worker applications

### `synapse.app.generic_worker`
Expand Down

0 comments on commit ad1f3fa

Please sign in to comment.