matrixsynapse: Restart server after post install

This does not effect the first install but is necessary when upgrading to newer
Plinth module version.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2017-10-18 17:20:30 +05:30
parent f5158c6186
commit 05fc508af8
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -81,6 +81,9 @@ def subcommand_post_install(_):
with open(CONFIG_FILE_PATH, 'w') as config_file:
round_trip_dump(config, config_file)
if action_utils.service_is_running('matrix-synapse'):
action_utils.service_restart('matrix-synapse')
def subcommand_setup(arguments):
"""Configure the domain name for matrix-synapse package."""