config_node1 474 B

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