platform: give feedback on service being started

This commit is contained in:
Girish Ramakrishnan
2025-11-28 12:54:22 +01:00
parent 8c03c73b28
commit 6e9cd4c11b
2 changed files with 20 additions and 31 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ async function startInfra(restoreOptions) {
}
if (existingInfra.version === 'none') await volumes.mountAll(); // when restoring, mount all volumes
gStatus.message = 'Starting services, this can take a while';
await services.startServices(existingInfra);
await services.startServices(existingInfra, function progresCallback({ message }) { gStatus.message = message; });
await fs.promises.writeFile(paths.INFRA_VERSION_FILE, JSON.stringify(infra, null, 4));
break;
} catch (error) {