From 58b0a0cd69883ccffc66cc26b03e33ecc3984751 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 15 Apr 2021 13:11:59 +0200 Subject: [PATCH] Unloading http bind route. --- server/lib/prosody/ctl.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/lib/prosody/ctl.ts b/server/lib/prosody/ctl.ts index 834db331..6b78cc6e 100644 --- a/server/lib/prosody/ctl.ts +++ b/server/lib/prosody/ctl.ts @@ -225,6 +225,9 @@ async function ensureProsodyNotRunning (options: RegisterServerOptions): Promise logger.debug('Calling prosodyctl to stop the process') const status = await prosodyCtl(options, 'stop') logger.info(`ProsodyCtl command returned: ${status.message}`) + + logger.debug('Removing http-bind route') + changeHttpBindRoute(options, null) } export {