mod_log_ringbuffer: Hook POSIX signals via event only
--- a/mod_log_ringbuffer/README.markdown Sat Mar 02 14:47:09 2024 +0100 +++ b/mod_log_ringbuffer/README.markdown Sat Mar 02 15:11:20 2024 +0100 @@ -120,4 +120,4 @@ # Compatibility -0.11 and later. +0.12 and later.
--- a/mod_log_ringbuffer/mod_log_ringbuffer.lua Sat Mar 02 14:47:09 2024 +0100 +++ b/mod_log_ringbuffer/mod_log_ringbuffer.lua Sat Mar 02 15:11:20 2024 +0100 @@ -106,7 +106,7 @@ end if sink_config.signal then - require "util.signal".signal(sink_config.signal, handler); + module:hook_global("signal/"..sink_config.signal, handler); elseif sink_config.event then module:hook_global(sink_config.event, handler); end