Mercurial > hg > nginx-site
comparison xml/en/docs/switches.xml @ 1331:7ac25c159209
Command-line parameters: empty spaces after — removed.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 07 Oct 2014 11:49:32 +0400 |
parents | b35cdfabe949 |
children | 7904b02a70c9 |
comparison
equal
deleted
inserted
replaced
1330:86e682c3f3a9 | 1331:7ac25c159209 |
---|---|
25 <literal>-c <value>file</value></literal>—use an alternative | 25 <literal>-c <value>file</value></literal>—use an alternative |
26 configuration <value>file</value> instead of a default file. | 26 configuration <value>file</value> instead of a default file. |
27 </listitem> | 27 </listitem> |
28 | 28 |
29 <listitem> | 29 <listitem> |
30 <literal>-g <value>directives</value></literal>— set | 30 <literal>-g <value>directives</value></literal>—set |
31 <link doc="ngx_core_module.xml">global configuration directives</link>, | 31 <link doc="ngx_core_module.xml">global configuration directives</link>, |
32 for example, | 32 for example, |
33 <programlisting> | 33 <programlisting> |
34 nginx -g "pid /var/run/nginx.pid; worker_processes `sysctl -n hw.ncpu`;" | 34 nginx -g "pid /var/run/nginx.pid; worker_processes `sysctl -n hw.ncpu`;" |
35 </programlisting> | 35 </programlisting> |
67 </listitem> | 67 </listitem> |
68 </list> | 68 </list> |
69 </listitem> | 69 </listitem> |
70 | 70 |
71 <listitem> | 71 <listitem> |
72 <literal>-t</literal>— test the configuration file: nginx checks the | 72 <literal>-t</literal>—test the configuration file: nginx checks the |
73 configuration for correct syntax, and then tries to open files | 73 configuration for correct syntax, and then tries to open files |
74 referred in the configuration. | 74 referred in the configuration. |
75 </listitem> | 75 </listitem> |
76 | 76 |
77 <listitem> | 77 <listitem> |