local skynet = require "skynet" 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) skynet.newservice("simpledb") local watchdog = skynet.newservice("watchdog") skynet.call(watchdog, "lua", "start", { port = 8888, maxclient = max_client, }) skynet.exit() end)