# HG changeset patch # User Maxim Dounin <mdou...@mdounin.ru> # Date 1715641805 -10800 # Tue May 14 02:10:05 2024 +0300 # Node ID 4e037b73ea79b64422b453a7f5ccff71382e9670 # Parent d099a7bc5d226cabdefe8994374d0bbfd84ad07b Documented "pid off".
diff --git a/xml/en/docs/ngx_core_module.xml b/xml/en/docs/ngx_core_module.xml --- a/xml/en/docs/ngx_core_module.xml +++ b/xml/en/docs/ngx_core_module.xml @@ -10,7 +10,7 @@ <module name="Core functionality" link="/en/docs/ngx_core_module.html" lang="en" - rev="27"> + rev="28"> <section id="example" name="Example Configuration"> @@ -403,12 +403,13 @@ the JIT support is enabled via the <directive name="pid"> -<syntax><value>file</value></syntax> +<syntax><value>file</value> | <literal>off</literal></syntax> <default>logs/nginx.pid</default> <context>main</context> <para> Defines a <value>file</value> that will store the process ID of the main process. +The <literal>off</literal> parameter (1.27.0) disables writing of a PID file. </para> </directive> diff --git a/xml/ru/docs/ngx_core_module.xml b/xml/ru/docs/ngx_core_module.xml --- a/xml/ru/docs/ngx_core_module.xml +++ b/xml/ru/docs/ngx_core_module.xml @@ -10,7 +10,7 @@ <module name="Основная функциональность" link="/ru/docs/ngx_core_module.html" lang="ru" - rev="27"> + rev="28"> <section id="example" name="Пример конфигурации"> @@ -401,12 +401,13 @@ load_module modules/ngx_mail_module.so; <directive name="pid"> -<syntax><value>файл</value></syntax> +<syntax><value>файл</value> | <literal>off</literal></syntax> <default>logs/nginx.pid</default> <context>main</context> <para> Задаёт <value>файл</value>, в котором будет храниться номер (PID) главного процесса. +Параметр <literal>off</literal> (1.27.0) отключает запись PID-файла. </para> </directive> -- nginx-devel mailing list nginx-devel@freenginx.org https://freenginx.org/mailman/listinfo/nginx-devel