123456789101112131415161718 |
- include "public.conf"
- -- 节点集群名
- clusterName = "web"
- -- 节点名
- nodeName = "web"
- lroot = root.."nodes/"..clusterName.."/"
- luaservice = luaservice..lroot.."service/?.lua;"..lroot.."?.lua;"
- lua_path = lua_path..lroot.."?.lua;"..lroot.."service/?.lua;"..lroot.."lib/?.lua;"
- snax = luaservice
- start = "main"
- -- daemon
- if system == "linux" then
- daemon = "./skynet_"..nodeName..".pid"
- end
|