1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 03:42:21 +08:00

Notify when daemon is ready

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
rht
2015-08-13 09:33:43 +07:00
parent ace06b47d1
commit 35ab1e347b
2 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,7 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
}
}
fmt.Printf("Daemon is ready\n")
// collect long-running errors and block for shutdown
// TODO(cryptix): our fuse currently doesnt follow this pattern for graceful shutdown
for err := range merge(apiErrc, gwErrc) {