launch all the bootstrap services in bootstrap.lua

This commit is contained in:
Cloud Wu
2014-05-08 12:06:53 +08:00
parent 4e00fce360
commit 8d8cb17e0a
7 changed files with 32 additions and 55 deletions

View File

@@ -592,6 +592,8 @@ harbor_init(struct harbor *h, struct skynet_context *ctx, const char * args) {
fprintf(stderr, "Harbor: Connect to master failed\n");
exit(1);
}
skynet_harbor_start(ctx);
h->local_addr = skynet_strdup(local_addr);
_launch_gate(ctx, local_addr);