X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Fcommon-daemon-cfg.txt;fp=doc%2Fman%2Fcommon-daemon-cfg.txt;h=c7b7eed809e6689ef592f20d78d216116b970402;hp=0000000000000000000000000000000000000000;hb=26f0c7794376456fcb5b13d4eae91c0ccf0dfe66;hpb=65750bcdda3dd71b72683573d35a662c0b467a8f diff --git a/doc/man/common-daemon-cfg.txt b/doc/man/common-daemon-cfg.txt new file mode 100644 index 000000000..c7b7eed80 --- /dev/null +++ b/doc/man/common-daemon-cfg.txt @@ -0,0 +1,39 @@ +[[cfg]] +Daemon configuration +~~~~~~~~~~~~~~~~~~~~ +When you run +{daemon-bin-name}+, it configures itself from, in this order: + +. The INI configuration file +{system_lttng_conf}+, if any. + +. The INI configuration file `$LTTNG_HOME/.lttng/lttng.conf`, if any. ++ +`$LTTNG_HOME` defaults to `$HOME`. + +. With the option:--config='PATH' option: the INI configuration file + 'PATH'. + +. The command-line options. + +Each step can override a previous configuration property. + +In INI configuration files, the session daemon only reads the properties +under the +{daemon-ini-section}+ INI section. Each INI property is: + +Key:: + The long name of a command-line option to set (see the + <> section below). + +Value:: + The selected command-line option accepts an argument::: + Option argument (string). + + The selected command-line option is a switch::: + `true`:::: + `yes`:::: + `on`:::: + Enable the option. + + `false`:::: + `no`:::: + `off`:::: + Disable the option.