login.conf 398 B

123456789101112131415161718
  1. include "public.conf"
  2. -- 节点集群名
  3. clusterName = "web"
  4. -- 节点名
  5. nodeName = "login"
  6. lroot = root.."nodes/"..clusterName.."/"
  7. luaservice = luaservice..lroot.."service/?.lua;"..lroot.."?.lua;"
  8. lua_path = lua_path..lroot.."?.lua;"..lroot.."service/?.lua;"..lroot.."lib/?.lua;"
  9. snax = luaservice
  10. start = "main"
  11. -- daemon
  12. if system == "linux" then
  13. daemon = "./skynet_"..nodeName..".pid"
  14. end