projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b48418f
)
libs/lucid: revert main state on startup to prevent accumulation.
author
Malte S. Stretz
<mss@apache.org>
Thu, 13 Aug 2009 13:43:20 +0000
(13:43 +0000)
committer
Malte S. Stretz
<mss@apache.org>
Thu, 13 Aug 2009 13:43:20 +0000
(13:43 +0000)
A proper SIGTERM handling needs support in nixio first.
libs/lucid/luasrc/lucid.lua
patch
|
blob
|
history
diff --git
a/libs/lucid/luasrc/lucid.lua
b/libs/lucid/luasrc/lucid.lua
index 4feb159a50a6c662665e77d352fbe315b58b81ff..e1d73227f1cc4ca8c5bdce63fe4d39df688fdb4b 100644
(file)
--- a/
libs/lucid/luasrc/lucid.lua
+++ b/
libs/lucid/luasrc/lucid.lua
@@
-43,6
+43,8
@@
local SSTATE = "/tmp/.lucid_store"
--- Starts a new LuCId superprocess.
function start()
+ state:revert(UCINAME, "main")
+
prepare()
local detach = cursor:get(UCINAME, "main", "daemonize")