lua-resty-signal
lua-resty-signal copied to clipboard
Lua library for killing or sending signals to UNIX processes
Could openresty catch signal SIGTERM when container will exit? Is hook named "exit_worker_by_lua" for this? I have use lua-resty-shell to create task and save pids, and I want kill them...
``` error("missing C def for signal ", sig) -> error("missing C def for signal " .. sig) ``` https://github.com/openresty/lua-resty-signal/blob/v0.02/lib/resty/signal.lua#L126
When linking resty_signal.o directly into nginx, there is no need to load librestysignal.so