turn service must be rebuilt on dashboard domain change
restart only restarts the container and does not affect the env variables.
This commit is contained in:
@@ -347,7 +347,7 @@ function updateDashboardDomain(domain, auditSource, callback) {
|
||||
setDashboardDomain(domain, auditSource, function (error) {
|
||||
if (error) return callback(error);
|
||||
|
||||
addons.restartService('turn', NOOP_CALLBACK); // to update the realm variable
|
||||
addons.rebuildService('turn', NOOP_CALLBACK); // to update the realm variable
|
||||
|
||||
callback(null);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user