integrity: add integrity check fields and initial UI

This commit is contained in:
Girish Ramakrishnan
2026-02-08 11:17:27 +01:00
parent 6303602323
commit 5276321ade
13 changed files with 232 additions and 50 deletions
+2
View File
@@ -17,6 +17,7 @@ const apps = require('./apps.js'),
appTaskManager = require('./apptaskmanager.js'),
assert = require('node:assert'),
AuditSource = require('./auditsource.js'),
backups = require('./backups.js'),
BoxError = require('./boxerror.js'),
constants = require('./constants.js'),
cron = require('./cron.js'),
@@ -172,6 +173,7 @@ async function initialize() {
await database.initialize();
await tasks.stopAllTasks(); // when box code crashes, systemd will clean up the control-group but not the tasks
await locks.releaseAll();
await backups.clearTasks();
// always generate webadmin config since we have no versioning mechanism for the ejs
const dashboardLocation = await dashboard.getLocation();