diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 00576eccd..3daa89a57 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -404,7 +404,6 @@ async function renewCert(fqdn, domainObject) { if (restartError) debug(`renewCert: error updating mail container on cert change: ${restartError.message}`); } - // FIXME: this doesn't work across processes. maybe directory server has to become a process of it's own if (domainObject.domain === settings.dashboardDomain() && getAcmeCertificatePathSync(settings.dashboardFqdn(), domainObject).certFilePath === acmePaths.certFilePath) { debug('renewCert: directory server certificate changed'); const [reloadError] = await safe(shell.promises.exec('renewCert', 'systemctl reload --no-block box'));