Hello! On Tue, Oct 28, 2014 at 08:30:15AM +0200, Donatas Abraitis wrote:
> Hello, > > is it true, that SIGHUP is not handled by ngx_module_t /* exit process */ ? > > I mean if I have these defined: > > ngx_http_modsecurity_terminate, /* exit process */ > ngx_http_modsecurity_terminate, /* exit master */ > > So, sending SIGHUP to the master it doesn't call the > ngx_http_modsecurity_terminate(). If sending SIGTERM it does. How is it for > real? The exit_process callback is called on process exit, not on SIGHUP. There is a difference, see here: http://nginx.org/en/docs/control.html -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel