matrix-synapse: Use '::' as the IPv6 bind address

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati authored and Sunil Mohan Adapa committed 2019-01-23 13:02:58 -08:00
1 parent b2c6112990
commit bacc2bcb21
1 file changed
+3 -4
+3 -4
View File
@@ -56,7 +56,7 @@ def subcommand_post_install(_):
for listener in config['listeners']:
if listener['port'] == 8448:
listener['bind_addresses'] = ['::1', '0.0.0.0']
listener['bind_addresses'] = ['::', '0.0.0.0']
listener.pop('bind_address', None)
# Setup ldap parameters
@@ -86,9 +86,8 @@ def subcommand_post_install(_):
def subcommand_setup(arguments):
"""Configure the domain name for matrix-synapse package."""
domain_name = arguments.domain_name
action_utils.dpkg_reconfigure('matrix-synapse', {
'server-name': domain_name
})
action_utils.dpkg_reconfigure('matrix-synapse',
{'server-name': domain_name})
subcommand_enable(arguments)