From bc68dab327703c9cffd61c0241c5e4ab23f28467 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 16 Jul 2014 13:06:17 -0400 Subject: [PATCH 1/1] Fix: add Loading Sessions section to lttng-sessiond.8 Signed-off-by: David Goulet --- doc/man/lttng-sessiond.8 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/man/lttng-sessiond.8 b/doc/man/lttng-sessiond.8 index 8a7e04210..bc03fb0b3 100644 --- a/doc/man/lttng-sessiond.8 +++ b/doc/man/lttng-sessiond.8 @@ -123,7 +123,22 @@ Specify path for the 64-bit UST consumer daemon binary Specify path for the 64-bit UST consumer daemon libraries .TP .BR "-l, --load PATH -Specify path from which to load session configurations +Specify path from which to automatically load session configuration(s). + +.SH "LOADING SESSIONS" + +.PP +By default, the session daemon tries to load session configuration(s) located +in the user default directory \fB~/.lttng/sessions/auto/\fP and in the system +wide one in \fB/etc/lttng/sessions/auto\fP. Note that the directory containing +the session's configuration and lttng-sessiond MUST have the same UID for them +to be automatically loaded. + +Specifiying a path with \-l, \-\-load PATH overrides the default directory and +UID check. The lttng-sessiond will simply check if it's accessible and try to +load every session file in it. +.PP + .SH "ENVIRONMENT VARIABLES" .PP -- 2.34.1