diff options
author | Jason Robinson <jasonr@element.io> | 2021-10-22 13:00:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 12:00:52 +0200 |
commit | b9ce53e8785d6f0dba6a3efcd708e4a185c32465 (patch) | |
tree | 8b040c9898348255f08cf62eeda7d88e8469bad6 /synapse/federation/federation_server.py | |
parent | Add more information what happens when a user is deactivated (#11083) (diff) | |
download | synapse-b9ce53e8785d6f0dba6a3efcd708e4a185c32465.tar.xz |
Fix synapse.config module "read" command (#11145)
`synapse.config.__main__` has the possibility to read a config item. This can be used to conveniently also validate the config is valid before trying to start Synapse. The "read" command broke in https://github.com/matrix-org/synapse/pull/10916 as it now requires passing in "server.server_name" for example. Also made the read command optional so one can just call this with just the confirm file reference and get a "Config parses OK" if things are ok. Signed-off-by: Jason Robinson <jasonr@matrix.org> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Diffstat (limited to 'synapse/federation/federation_server.py')
0 files changed, 0 insertions, 0 deletions