Restart mail server after DKIM keys are generated
Haraka won't do change notification on those
This commit is contained in:
+2
-2
@@ -734,8 +734,8 @@ function add(domain, callback) {
|
||||
if (error) return callback(new MailError(MailError.INTERNAL_ERROR, error));
|
||||
|
||||
async.series([
|
||||
restartMail,
|
||||
addDnsRecords.bind(null, domain)
|
||||
addDnsRecords.bind(null, domain), // do this first to ensure DKIM keys
|
||||
restartMail
|
||||
], NOOP_CALLBACK); // do these asynchronously
|
||||
|
||||
callback();
|
||||
|
||||
Reference in New Issue
Block a user