mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 12:55:07 -05:00
main: support configuration commands on command line
If there are extra arguments on the chronyd command line, they will be parsed as lines in a configuration file and the normal configuration file will be ignored.
This commit is contained in:
@@ -971,6 +971,10 @@ entering the command
|
||||
|
||||
Information messages and warnings will be logged to syslog.
|
||||
|
||||
If no configuration commands are specified on the command line,
|
||||
@code{chronyd} will read the commands from the configuration file
|
||||
(default @file{@SYSCONFDIR@/chrony.conf}).
|
||||
|
||||
The command line options supported are as follows:
|
||||
|
||||
@table @code
|
||||
@@ -1106,6 +1110,10 @@ Each command in the configuration file is placed on a separate line.
|
||||
The following sections describe each of the commands in turn. The
|
||||
directives can occur in any order in the file.
|
||||
|
||||
The configuration commands can also be specified directly on the
|
||||
@code{chronyd} command line, each argument is parsed as a line and
|
||||
the configuration file is ignored.
|
||||
|
||||
@menu
|
||||
* comments in config file:: How to write a comment
|
||||
* acquisitionport directive:: Set port to use for initial time probes
|
||||
|
||||
Reference in New Issue
Block a user