add bootstrap script

This commit is contained in:
Cloud Wu
2014-04-29 13:43:40 +08:00
parent be948c6675
commit f6e67b7493
9 changed files with 43 additions and 20 deletions

View File

@@ -4,8 +4,9 @@ logger = nil
harbor = 1
address = "127.0.0.1:2526"
master = "127.0.0.1:2013"
start = "main"
preload = "preload example" -- run preload.lua helloworld before every lua service start
start = "main" -- main script
bootstrap = "snlua bootstrap" -- The service for bootstrap
-- preload = "preload example" -- run preload.lua helloworld before every lua service start
standalone = "0.0.0.0:2013"
luaservice = root.."service/?.lua;"..root.."test/?.lua;"..root.."examples/?.lua"
snax = root.."examples/?.lua;"..root.."test/?.lua"

View File

@@ -4,7 +4,6 @@ local max_client = 64
skynet.start(function()
print("Server start")
local service = skynet.newservice("service_mgr")
skynet.monitor "simplemonitor"
local console = skynet.newservice("console")
skynet.newservice("debug_console",8000)