remove obsolete fixme

This commit is contained in:
Girish Ramakrishnan
2022-11-16 11:46:31 +01:00
parent f82f533f36
commit 19b0d47988

View File

@@ -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'));