add pidfile for daemon

This commit is contained in:
Cloud Wu
2014-05-23 13:24:02 +08:00
parent 1ce90b7d17
commit 8005b55ef5
8 changed files with 116 additions and 6 deletions

View File

@@ -12,4 +12,4 @@ lualoader = "lualib/loader.lua"
-- preload = "./examples/preload.lua" -- run preload.lua before every lua service run
snax = root.."examples/?.lua;"..root.."test/?.lua"
cpath = root.."cservice/?.so"
daemon = false
daemon = "./skynet.pid"