cmdmon: don't create socket when cmdport is 0

This commit is contained in:
Miroslav Lichvar
2014-06-30 12:36:52 +02:00
parent cc1c6c94e3
commit 129aa587c6
2 changed files with 12 additions and 12 deletions

View File

@@ -1447,7 +1447,8 @@ There is also a @code{cmddeny all} directive with similar behaviour to the
The @code{cmdport} directive allows the port that is used for run-time
command and monitoring (via the program @code{chronyc}) to be altered
from its default (323/udp).
from its default (323/udp). If set to 0, @code{chronyd} will not open the
port, this is useful to disable the @code{chronyc} access completely.
An example shows the syntax