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 committed 2017-10-18 17:30:48 +05:30
1 parent f5158c6186
commit 05fc508af8
1 file changed
+3
+3
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."""