mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-18 08:24:17 -05:00
Document how to start Synapse with Poetry (#14892)
* 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>
This commit is contained in:
parent
ffc2ee521d
commit
ad1f3fa8e1
1
changelog.d/14892.doc
Normal file
1
changelog.d/14892.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Document how to start Synapse with Poetry. Contributed by @thezaidbintariq.
|
@ -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
|
[Systemd with Workers](systemd-with-workers/). To use `synctl`, see
|
||||||
[Using synctl with Workers](synctl_workers.md).
|
[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
|
## Available worker applications
|
||||||
|
|
||||||
### `synapse.app.generic_worker`
|
### `synapse.app.generic_worker`
|
||||||
|
Loading…
Reference in New Issue
Block a user