From 82325af3ae41bc7efb3d5cd8f56a4652fef498c2 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mon, 8 Aug 2022 09:13:50 +0200 Subject: logind: add option to stop idle sessions after specified timeout Thanks to Jan Pazdziora for providing a patch which implemeted a PoC of this feature. --- man/logind.conf.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'man/logind.conf.xml') diff --git a/man/logind.conf.xml b/man/logind.conf.xml index fc838abee2..9682add08c 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -344,6 +344,17 @@ are excluded from the effect of this setting. Defaults to yes. + + StopIdleSessionSec= + + Specifies a timeout in seconds, or a time span value after which + systemd-logind checks the idle state of all sessions. Every session that is idle for + longer then the timeout will be stopped. Defaults to infinity + (systemd-logind is not checking the idle state of sessions). For details about the syntax + of time spans, see + systemd.time7. + + -- cgit v1.2.1