Add TODO note for relaunching mail container when cert path changes

This commit is contained in:
Girish Ramakrishnan
2016-08-02 18:37:43 -07:00
parent 2e51251cac
commit 9fd40e506d

View File

@@ -230,6 +230,8 @@ function startMail(callback) {
return callback(new Error('Could not create mail var file:' + safe.error.message));
}
// TODO: watch for a signal here should the certificate path change. Note that haraka reloads
// config automatically if the contents of the certificate changes (eg, renawal).
certificates.getAdminCertificatePath(function (error, certFilePath, keyFilePath) {
if (error) return callback(error);