eventlog: add service rebuild/restart/configure events

This commit is contained in:
Girish Ramakrishnan
2021-09-24 10:22:45 -07:00
parent 05e8339555
commit d90beb18d4
7 changed files with 50 additions and 20 deletions

View File

@@ -1568,7 +1568,7 @@ async function setDataDir(app, dataDir, auditSource) {
args: { newDataDir: dataDir },
values: { },
onFinished: async (error) => {
if (!error) await safe(services.rebuildService('sftp'), { debug });
if (!error) await safe(services.rebuildService('sftp', auditSource), { debug });
}
};
const taskId = await addTask(appId, exports.ISTATE_PENDING_DATA_DIR_MIGRATION, task);