delete certs that have long expired (6 months)

fixes #783
This commit is contained in:
Girish Ramakrishnan
2021-05-18 13:28:48 -07:00
parent 76d0abae43
commit a5e34cf775
6 changed files with 46 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
'use strict';
var apptask = require('./apptask.js'),
const apptask = require('./apptask.js'),
async = require('async'),
backups = require('./backups.js'),
cloudron = require('./cloudron.js'),
@@ -20,7 +20,7 @@ const TASKS = { // indexed by task type
app: apptask.run,
backup: backups.backupBoxAndApps,
update: updater.update,
renewcerts: reverseProxy.renewCerts,
checkCerts: reverseProxy.checkCerts,
setupDnsAndCert: cloudron.setupDnsAndCert,
cleanBackups: backups.cleanup,
syncExternalLdap: externalLdap.sync,