Hi all:
I don't know what is the difference between command {nginx servie stop} and command {openresty -s stop}
And for my question.
I should get the stop/restart signal to do some flushing operation.
Is there any way to catch the signal in openresty lua ?
or Must I recompile the nginx source and write that in pure C ?
ANY HELP ?