lua-resty-signal icon indicating copy to clipboard operation
lua-resty-signal copied to clipboard

Need Help: May openresty catch signal in lua?

Open fly3366 opened this issue 4 years ago • 0 comments

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?

fly3366 avatar May 27 '21 07:05 fly3366