From 05fc508af81cb4ed5ba2492438da1e0e70c80818 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 18 Oct 2017 17:20:30 +0530 Subject: [PATCH] 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 --- actions/matrixsynapse | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actions/matrixsynapse b/actions/matrixsynapse index 2b1db74fc..e1065bdba 100755 --- a/actions/matrixsynapse +++ b/actions/matrixsynapse @@ -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."""