We developed a apache module mod_xx.so. We have a requirement where in we need to differentiate between apache graceful restart and normal stop. We need to execute certain part of the code for graceful restart only.
So how do we differentiate between graceful restart and normal stop in apache extended modules.