diff options
author | Malte S. Stretz <mss@apache.org> | 2009-08-13 13:43:20 +0000 |
---|---|---|
committer | Malte S. Stretz <mss@apache.org> | 2009-08-13 13:43:20 +0000 |
commit | 8f580be880db9c79613434d4dfce65e864281944 (patch) | |
tree | 8a3f888a690b8e4d9421743994e2382ec4be7554 | |
parent | b48418f314cafaf9df29ba51c7219d3ba6947535 (diff) |
libs/lucid: revert main state on startup to prevent accumulation.
A proper SIGTERM handling needs support in nixio first.
-rw-r--r-- | libs/lucid/luasrc/lucid.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/lucid/luasrc/lucid.lua b/libs/lucid/luasrc/lucid.lua index 4feb159a50..e1d73227f1 100644 --- 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") |