platform: give feedback on service being started
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user