master.conf 429 B

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