master process
Yuval Abadi
y.abadi at f5.com
Fri Aug 4 15:29:00 UTC 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230804/540c7798/attachment.htm>
More information about the nginx
mailing list