lua-resty-signal
lua-resty-signal copied to clipboard
Need Help: May openresty catch signal in lua?
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 when container exited. Any best practice?