Hi
I am writing plugin code that read the configuration, nginx.conf, and do some periodic continues processing.
In the configuration CBs, the process PID is not the MASTER, after NGINX start run he MASTER pid is other process.
It seems that temporary process read the nginx.conf. and then spawn the MASTER.
I don’t want to use the workers processes, I need only one instance. and I need the option to stop NGINX run, same as happened when nginx.conf is wrong, which is what my processing does at init.
How could I add code that run under the MASTER? Is any CB , event?
Or,
could use the initiating process, the one that read the conf, to do continues processing ?
Thanks
Yuval Abadi
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx