Generate conduit.toml instead of debian environment file

Only generate this file once. I am not sure what to do with future
upgrades yet.
This commit is contained in:
Paul van Tilburg 2021-04-16 22:10:07 +02:00
parent ab58609d3d
commit 5bf43a4d7e
No known key found for this signature in database
GPG key ID: C6DE073EDA9EEC4D
5 changed files with 57 additions and 48 deletions

12
debian/README.Debian vendored
View file

@ -4,19 +4,19 @@ 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.
When installed, Debconf generates the configuration of the homeserver
(host)name, the address and port it listens on. This configuration ends up in
/etc/matrix-conduit/conduit.toml.
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.
in /etc/matrix-conduit/conduit.toml. 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
stop Conduit. It loads the configuration file mentioned above to set up the
environment before running the server.
This package assumes by default that Conduit is placed behind a reverse proxy