diff options
author | Paul van Tilburg <paul@luon.net> | 2020-11-13 20:50:58 +0100 |
---|---|---|
committer | Paul van Tilburg <paul@luon.net> | 2020-11-24 14:42:20 +0100 |
commit | 1b4a79d47c7f91b6d3562520637d28f6f00ec6c9 (patch) | |
tree | 41f1632438f9f392657e725bd5e259511edb0e80 | |
parent | f72554de1014eea6b5c224548e9d0aeb15553cf7 (diff) | |
download | conduit-1b4a79d47c7f91b6d3562520637d28f6f00ec6c9.zip |
Add and install README.Debian
This file documents how the packaging is organized and how to
configure and use it. It also details what the default deployment
is like.
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | debian/README.Debian | 29 |
2 files changed, 30 insertions, 0 deletions
@@ -86,6 +86,7 @@ section = "net" priority = "optional" assets = [ ["debian/env.local", "etc/matrix-conduit/local", "644"], + ["debian/README.Debian", "usr/share/doc/matrix-conduit/", "644"], ["README.md", "usr/share/doc/matrix-conduit/", "644"], ["target/release/conduit", "usr/sbin/matrix-conduit", "755"], ] diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..69fb975 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,29 @@ +Conduit for Debian +================== + +Configuration +------------- + +When installed, Debconf handles the configuration of the homeserver (host)name, +the address and port it listens on. These configuration variables end up in +/etc/matrix-conduit/debian. + +You can tweak more detailed settings by uncommenting and setting the variables +in /etc/matrix-conduit/local. This involves settings such as the maximum file +size for download/upload, enabling federation, etc. + +Running +------- + +The package uses the matrix-conduit.service systemd unit file to start and +stop Conduit. It loads the configuration files mentioned above to set up the +environment before running the server. + +This package assumes by default that Conduit is placed behind a reverse proxy +such as Apache or nginx. This default deployment entails just listening on +127.0.0.1 and the free port 14004 and is reachable via a client using the URL +http://localhost:14004. + +At a later stage this packaging may support also setting up TLS and running +stand-alone. In this case, however, you need to set up some certificates and +renewal, for it to work properly. |