On dashboard or email location change, reconfigure immediately
This commit is contained in:
@@ -38,6 +38,7 @@ const assert = require('assert'),
|
||||
os = require('os'),
|
||||
path = require('path'),
|
||||
paths = require('./paths.js'),
|
||||
platform = require('./platform.js'),
|
||||
reverseProxy = require('./reverseproxy.js'),
|
||||
safe = require('safetydance'),
|
||||
services = require('./services.js'),
|
||||
@@ -282,8 +283,8 @@ async function changeLocation(auditSource, progressCallback) {
|
||||
}
|
||||
|
||||
progressCallback({ percent: 90, message: 'Restarting mail server' });
|
||||
|
||||
await restartIfActivated();
|
||||
await platform.onMailServerLocationChanged();
|
||||
}
|
||||
|
||||
async function setLocation(subdomain, domain) {
|
||||
|
||||
Reference in New Issue
Block a user