Commit | Line | Data |
---|---|---|
26f0c779 PP |
1 | [[cfg]] |
2 | Daemon configuration | |
3 | ~~~~~~~~~~~~~~~~~~~~ | |
4 | When you run +{daemon-bin-name}+, it configures itself from, in this order: | |
5 | ||
6 | . The INI configuration file +{system_lttng_conf}+, if any. | |
7 | ||
8 | . The INI configuration file `$LTTNG_HOME/.lttng/lttng.conf`, if any. | |
9 | + | |
10 | `$LTTNG_HOME` defaults to `$HOME`. | |
11 | ||
12 | . With the option:--config='PATH' option: the INI configuration file | |
13 | 'PATH'. | |
14 | ||
15 | . The command-line options. | |
16 | ||
17 | Each step can override a previous configuration property. | |
18 | ||
19 | In INI configuration files, the session daemon only reads the properties | |
20 | under the +{daemon-ini-section}+ INI section. Each INI property is: | |
21 | ||
22 | Key:: | |
23 | The long name of a command-line option to set (see the | |
24 | <<options,OPTIONS>> section below). | |
25 | ||
26 | Value:: | |
27 | The selected command-line option accepts an argument::: | |
28 | Option argument (string). | |
29 | ||
30 | The selected command-line option is a switch::: | |
31 | `true`:::: | |
32 | `yes`:::: | |
33 | `on`:::: | |
34 | Enable the option. | |
35 | ||
36 | `false`:::: | |
37 | `no`:::: | |
38 | `off`:::: | |
39 | Disable the option. |