File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ start = "main" -- main script
9
9
bootstrap = "snlua bootstrap" -- The service for bootstrap
10
10
standalone = "0.0.0.0:2013"
11
11
luaservice = root.."service/?.lua;"..root.."test/?.lua;"..root.."examples/?.lua"
12
- lualoader = "lualib/loader.lua"
12
+ lualoader = root .. "lualib/loader.lua"
13
+ lua_path = root.."lualib/?.lua;"..root.."lualib/?/init.lua"
14
+ lua_cpath = root .. "luaclib/?.so"
13
15
-- preload = "./examples/preload.lua" -- run preload.lua before every lua service run
14
16
snax = root.."examples/?.lua;"..root.."test/?.lua"
15
17
-- snax_interface_g = "snax_g"
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ local max_client = 64
6
6
skynet .start (function ()
7
7
skynet .error (" Server start" )
8
8
skynet .uniqueservice (" protoloader" )
9
- local console = skynet .newservice (" console" )
9
+ if not skynet .getenv " daemon" then
10
+ local console = skynet .newservice (" console" )
11
+ end
10
12
skynet .newservice (" debug_console" ,8000 )
11
13
skynet .newservice (" simpledb" )
12
14
local watchdog = skynet .newservice (" watchdog" )
You can’t perform that action at this time.
0 commit comments