From 8f580be880db9c79613434d4dfce65e864281944 Mon Sep 17 00:00:00 2001 From: "Malte S. Stretz" Date: Thu, 13 Aug 2009 13:43:20 +0000 Subject: [PATCH] libs/lucid: revert main state on startup to prevent accumulation. A proper SIGTERM handling needs support in nixio first. --- libs/lucid/luasrc/lucid.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/lucid/luasrc/lucid.lua b/libs/lucid/luasrc/lucid.lua index 4feb159a5..e1d73227f 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") -- 2.25.1