0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-17 07:10:51 +01:00
dendrite/docs/installation/9_starting_monolith.md
Robin Westerik 7cde99a7a7
Updated instructions and references to monolith to their new names (#2994)
Currently, the documentation makes use of the old names for the binary
and configuration files. This updates the documentation so that users
can follow the guide without issues again.
These changes don't require any go unit tests because it does not modify
any golang code.

Signed-off-by: `Robin Westerik <gh@westerik.me>`
2023-03-03 10:20:53 +01:00

1.2 KiB

title parent has_toc nav_order permalink
Starting the monolith Installation true 9 /installation/start/monolith

Starting the monolith

Once you have completed all of the preparation and installation steps, you can start your Dendrite monolith deployment by starting dendrite:

./dendrite -config /path/to/dendrite.yaml

By default, Dendrite will listen HTTP on port 8008. If you want to change the addresses or ports that Dendrite listens on, you can use the -http-bind-address and -https-bind-address command line arguments:

./dendrite -config /path/to/dendrite.yaml \
    -http-bind-address 1.2.3.4:12345 \
    -https-bind-address 1.2.3.4:54321

Running under systemd

A common deployment pattern is to run the monolith under systemd. For this, you will need to create a service unit file. An example service unit file is available in the GitHub repository.

Once you have installed the service unit, you can notify systemd, enable and start the service:

systemctl daemon-reload
systemctl enable dendrite
systemctl start dendrite
journalctl -fu dendrite