Sun, 10 Jan 2010 14:09:17 +0000
mod_posix: Remove the lines added to work around the util.signal loop bug
plugins/mod_posix.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_posix.lua Sun Jan 10 03:54:29 2010 +0000 +++ b/plugins/mod_posix.lua Sun Jan 10 14:09:17 2010 +0000 @@ -136,7 +136,6 @@ if signal.signal then signal.signal("SIGTERM", function () module:log("warn", "Received SIGTERM"); - signal.signal("SIGTERM", function () end); -- Fixes us getting into some kind of loop prosody.unlock_globals(); prosody.shutdown("Received SIGTERM"); prosody.lock_globals(); @@ -150,7 +149,6 @@ signal.signal("SIGINT", function () module:log("info", "Received SIGINT"); - signal.signal("SIGINT", function () end); -- Fix to not loop prosody.unlock_globals(); prosody.shutdown("Received SIGINT"); prosody.lock_globals();