Closed NicolasMahe closed 4 years ago
Or we could simply make the start command with a detach
mode (the one implemented actually).
When we don't have the option detach then we have the same behavior than the dev command or the dev-core. We start, show the logs until user exits and then stop the core.
@NicolasMahe let's move this to cli's repo
This can be solved by implementing https://github.com/mesg-foundation/engine/issues/1159#issuecomment-509395452 on Engine. But same logic can be implemented in here, cli as well. I think I prefer to have this on Engine's Instance.Create()
but maybe optionally. For ex: Instance.Create(waitForReady bool)
the daemon:start
now waits for the API to be ready, also, we don't have any system service anymore
The command
core start
should wait for all system service to be deployed and for the gRPC server to be up and running.