From 9fd40e506df74b61216cc647cce41e9e4ac48cb0 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 2 Aug 2016 18:37:43 -0700 Subject: [PATCH] Add TODO note for relaunching mail container when cert path changes --- src/platform.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform.js b/src/platform.js index d9421840a..5bf28a714 100644 --- a/src/platform.js +++ b/src/platform.js @@ -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);