mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
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:
parent
f5158c6186
commit
05fc508af8
@ -81,6 +81,9 @@ def subcommand_post_install(_):
|
|||||||
with open(CONFIG_FILE_PATH, 'w') as config_file:
|
with open(CONFIG_FILE_PATH, 'w') as config_file:
|
||||||
round_trip_dump(config, 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):
|
def subcommand_setup(arguments):
|
||||||
"""Configure the domain name for matrix-synapse package."""
|
"""Configure the domain name for matrix-synapse package."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user