summary refs log tree commit diff
path: root/synapse/http/server.py
diff options
context:
space:
mode:
authorJason Robinson <jasonr@element.io>2021-10-22 13:00:52 +0300
committerGitHub <noreply@github.com>2021-10-22 12:00:52 +0200
commitb9ce53e8785d6f0dba6a3efcd708e4a185c32465 (patch)
tree8b040c9898348255f08cf62eeda7d88e8469bad6 /synapse/http/server.py
parentAdd more information what happens when a user is deactivated (#11083) (diff)
downloadsynapse-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/http/server.py')
0 files changed, 0 insertions, 0 deletions