config 655 B

1234567891011121314151617181920212223242526272829
  1. root = "../"
  2. skynet = root .. "skynet/"
  3. enablessl = true
  4. -- 基础配置项
  5. thread = 8
  6. logger = nil
  7. logpath = "."
  8. daemon = nil
  9. profile = true
  10. harbor = 0
  11. bootstrap = "snlua bootstrap"
  12. lualoader = skynet .. "lualib/loader.lua"
  13. -- skynet 服务路径
  14. luaservice = skynet .. "service/?.lua;"
  15. -- c 编写的服务路径
  16. cpath = skynet .. "cservice/?.so"
  17. -- 将添加到 package.cpath 中的路径,供 require 调用
  18. lua_cpath = skynet .. "luaclib/?.so"
  19. -- 将添加到 package.path 中的路径,供 require 调用
  20. lua_path = root .. "?.lua;" ..
  21. skynet .. "?.lua;" ..
  22. skynet .. "lualib/?.lua;" ..
  23. skynet .. "lualib/?/init.lua;"