libs/lucid: revert main state on startup to prevent accumulation.
A proper SIGTERM handling needs support in nixio first.
This commit is contained in:
parent
b48418f314
commit
8f580be880
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ local SSTATE = "/tmp/.lucid_store"
|
||||||
|
|
||||||
--- Starts a new LuCId superprocess.
|
--- Starts a new LuCId superprocess.
|
||||||
function start()
|
function start()
|
||||||
|
state:revert(UCINAME, "main")
|
||||||
|
|
||||||
prepare()
|
prepare()
|
||||||
|
|
||||||
local detach = cursor:get(UCINAME, "main", "daemonize")
|
local detach = cursor:get(UCINAME, "main", "daemonize")
|
||||||
|
|
Loading…
Reference in a new issue