- --必须配置
- include "config.path"
- thread = 8 --启用多少个工作线程
- cpath = root.."skynet/cservice/?.so" --用C编写的服务模块的位置
- bootstrap = "snlua bootstrap" --启动的第一个服务
- --bootstrap配置项
- start = "main" --主程序入口
- harbor = 0 --不使用主从节点模式
- --后台模式
- --daemon = "./skynet.pid"
- --logger = "./userlog"
- --节点
- node = "node1"
|