preload support

This commit is contained in:
Cloud Wu
2014-04-23 18:06:21 +08:00
parent 1a169ec413
commit 518017bd34
4 changed files with 49 additions and 58 deletions

View File

@@ -5,6 +5,7 @@ harbor = 1
address = "127.0.0.1:2526"
master = "127.0.0.1:2013"
start = "main"
preload = "preload example" -- run preload.lua helloworld before every lua service start
standalone = "0.0.0.0:2013"
luaservice = root.."service/?.lua;"..root.."test/?.lua;"..root.."examples/?.lua"
snax = root.."examples/?.lua;"..root.."test/?.lua"