aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/server.lua b/net/server.lua
index 942aceb2..45601998 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -87,6 +87,11 @@ else
end
end
+if server_type == "epoll" and os.getenv "PROSODY_EPOLL_SIGNALS" ~= "1" then
+ -- Until we can track down why this only works for me
+ server.hook_signal = nil;
+end
+
-- If server.hook_signal exists, replace signal.signal()
local has_signal, signal = pcall(require, "prosody.util.signal");
if has_signal then