summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/man/sesman.ini.5.in6
-rw-r--r--sesman/sesman.ini.in7
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/man/sesman.ini.5.in b/docs/man/sesman.ini.5.in
index 4fad8eb4..997fd1f3 100644
--- a/docs/man/sesman.ini.5.in
+++ b/docs/man/sesman.ini.5.in
@@ -135,6 +135,12 @@ If set to \fB1\fR, \fBtrue\fR or \fByes\fR, every session will be killed
within 60 seconds after the user disconnects.
.TP
+\fBIdleTimeLimit\fR=\fInumber\fR
+\fI\This option is currently ignored!\fR Time limit before an idle
+session is disconnected. If set to \fI0\fR, automatic disconnection is
+disabled.
+
+.TP
\fBDisconnectedTimeLimit\fR=\fInumber\fR
Sets the time limit (in seconds) before a disconnected session is killed.
If set to \fI0\fR, automatic killing is disabled.
diff --git a/sesman/sesman.ini.in b/sesman/sesman.ini.in
index 68ef7795..deaf6f01 100644
--- a/sesman/sesman.ini.in
+++ b/sesman/sesman.ini.in
@@ -37,6 +37,13 @@ MaxSessions=50
; if 1, true, or yes, kill session after 60 seconds
KillDisconnected=false
+;; IdleTimeLimit - when to disconnect idle sessions
+; Type: integer
+; Default: 0
+; if not zero, the seconds without mouse or keyboard input before disconnect
+; not complete yet
+IdleTimeLimit=0
+
;; DisconnectedTimeLimit - when to kill idle sessions
; Type: integer
; Default: 0