0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 22:33:51 +01:00

Allow "manhole" to be ommited from the config

This commit is contained in:
Mark Haines 2015-04-30 18:11:47 +01:00
parent 345995fcde
commit 50c87b8eed

View file

@ -23,7 +23,7 @@ class ServerConfig(Config):
self.bind_port = config["bind_port"] self.bind_port = config["bind_port"]
self.bind_host = config["bind_host"] self.bind_host = config["bind_host"]
self.unsecure_port = config["unsecure_port"] self.unsecure_port = config["unsecure_port"]
self.manhole = config["manhole"] self.manhole = config.get("manhole")
self.pid_file = self.abspath(config.get("pid_file")) self.pid_file = self.abspath(config.get("pid_file"))
self.web_client = config["web_client"] self.web_client = config["web_client"]
self.soft_file_limit = config["soft_file_limit"] self.soft_file_limit = config["soft_file_limit"]