From 6562c9d9583fe8a919e9df348129cd94a6a667cd Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 18 Dec 2020 15:21:21 +0900 Subject: [PATCH] man page fixes after neutrinolabs/xorgxrdp#175 --- docs/man/sesman.ini.5.in | 5 ++--- sesman/sesman.ini.in | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/man/sesman.ini.5.in b/docs/man/sesman.ini.5.in index c1a12c61..5b6aac92 100644 --- a/docs/man/sesman.ini.5.in +++ b/docs/man/sesman.ini.5.in @@ -153,14 +153,13 @@ Sets the maximum number of simultaneous sessions. If not set or set to .TP \fBKillDisconnected\fR=\fI[true|false]\fR If set to \fB1\fR, \fBtrue\fR or \fByes\fR, every session will be killed -within 60 seconds after the user disconnects. +within \fBDisconnectedTimeLimit\fR seconds after the user disconnects. This setting currently only works with xorgxrdp sessions. .TP \fBDisconnectedTimeLimit\fR=\fInumber\fR Sets the time limit for \fBKillDisconnected\fR to a value greater than 60. -Values less than 60 cannot be set. You do not actually have to specify -\fBKillDisconnected\fR if you set this value. +Values less than 60 are to be overridden with 60. This setting currently only works with xorgxrdp sessions. .TP diff --git a/sesman/sesman.ini.in b/sesman/sesman.ini.in index c912baa9..da4aaa0c 100644 --- a/sesman/sesman.ini.in +++ b/sesman/sesman.ini.in @@ -37,17 +37,17 @@ MaxSessions=50 ;; KillDisconnected - kill disconnected sessions ; Type: boolean ; Default: false -; if 1, true, or yes, kill session after 60 seconds +; if 1, true, or yes, every session will be killed within DisconnectedTimeLimit +; seconds after the user disconnects KillDisconnected=false -;; DisconnectedTimeLimit - when to kill idle sessions +;; DisconnectedTimeLimit (seconds) - wait before kill disconnected sessions ; Type: integer ; Default: 0 -; if not zero, the seconds before a disconnected session is killed -; min 60 seconds +; if KillDisconnected is set to false, this value is ignored DisconnectedTimeLimit=0 -;; IdleTimeLimit (specify in second) - wait before disconnect idle sessions +;; IdleTimeLimit (seconds) - wait before disconnect idle sessions ; Type: integer ; Default: 0 ; Set to 0 to disable idle disconnection.