changeset 3081:eb5950986b11

Documented "pid off".
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 14 May 2024 05:30:46 +0300
parents d099a7bc5d22
children 796fbd13ae36
files xml/en/docs/ngx_core_module.xml xml/ru/docs/ngx_core_module.xml
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 a PID file.
 </para>
 
 </directive>
--- 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>