Skip to content
Snippets Groups Projects
Commit 8e3392c9 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

doc: add pidfile

issue #67
parent 3fea146b
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,7 @@ Statement Definition and Usage
* nsid::
* storage::
* rundir::
* pidfile::
* workers::
* user::
* max-conn-idle::
......
......@@ -40,6 +40,7 @@ else.
[ @code{nsid} ( @code{"}@kbd{string}@code{"} | @kbd{hex_string} )@code{;} ]
[ @code{storage} @code{"}@kbd{string}@code{";} ]
[ @code{rundir} @code{"}@kbd{string}@code{";} ]
[ @code{pidfile} @code{"}@kbd{string}@code{";} ]
[ @code{workers} @kbd{integer}@code{;} ]
[ @code{user} @kbd{string}[@code{.}@kbd{string}]@code{;} ]
[ @code{max-conn-idle} ( @kbd{integer} | @kbd{integer}(@code{s} | @code{m} | @code{h} | @code{d})@code{;} ) ]
......@@ -62,6 +63,7 @@ else.
* nsid::
* storage::
* rundir::
* pidfile::
* workers::
* user::
* max-conn-idle::
......@@ -162,6 +164,20 @@ system @{
@}
@end example
@node pidfile
@subsubsection pidfile
@vindex pidfile
Specifies a custom PID file location.
Default value: @file{knot.pid} in @code{rundir} directory.
@example
system @{
pidfile "/var/run/knot/knot_dmz.pid";
@}
@end example
@node workers
@subsubsection workers
@vindex workers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment