diff options
author | Michal Sekletar <msekleta@redhat.com> | 2022-08-08 09:13:50 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2022-08-24 14:50:48 +0200 |
commit | 82325af3ae41bc7efb3d5cd8f56a4652fef498c2 (patch) | |
tree | 2d72eb773c360cbadf6ffbdf8b693662edc78532 /man | |
parent | 4ee8176fe33bbcd0971c4583a0e7d1cc2a64ac06 (diff) | |
download | systemd-82325af3ae41bc7efb3d5cd8f56a4652fef498c2.tar.gz |
logind: add option to stop idle sessions after specified timeout
Thanks to Jan Pazdziora <jpazdziora@redhat.com> for providing a patch
which implemeted a PoC of this feature.
Diffstat (limited to 'man')
-rw-r--r-- | man/logind.conf.xml | 11 | ||||
-rw-r--r-- | man/org.freedesktop.login1.xml | 6 |
2 files changed, 17 insertions, 0 deletions
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 <literal>yes</literal>.</para></listitem> </varlistentry> + <varlistentry> + <term><varname>StopIdleSessionSec=</varname></term> + + <listitem><para>Specifies a timeout in seconds, or a time span value after which + <filename>systemd-logind</filename> checks the idle state of all sessions. Every session that is idle for + longer then the timeout will be stopped. Defaults to <literal>infinity</literal> + (<filename>systemd-logind</filename> is not checking the idle state of sessions). For details about the syntax + of time spans, see + <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. + </para></listitem> + </varlistentry> </variablelist> </refsect1> diff --git a/man/org.freedesktop.login1.xml b/man/org.freedesktop.login1.xml index 4cc9f27891..277ba3ff85 100644 --- a/man/org.freedesktop.login1.xml +++ b/man/org.freedesktop.login1.xml @@ -245,6 +245,8 @@ node /org/freedesktop/login1 { readonly t SessionsMax = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("false") readonly t NCurrentSessions = ...; + @org.freedesktop.DBus.Property.EmitsChangedSignal("const") + readonly t StopIdleSessionUSec = ...; }; interface org.freedesktop.DBus.Peer { ... }; interface org.freedesktop.DBus.Introspectable { ... }; @@ -262,6 +264,8 @@ node /org/freedesktop/login1 { <!--property HandleHibernateKeyLongPress is not documented!--> + <!--property StopIdleSessionUSec is not documented!--> + <!--Autogenerated cross-references for systemd.directives, do not edit--> <variablelist class="dbus-interface" generated="True" extra-ref="org.freedesktop.login1.Manager"/> @@ -490,6 +494,8 @@ node /org/freedesktop/login1 { <variablelist class="dbus-property" generated="True" extra-ref="NCurrentSessions"/> + <variablelist class="dbus-property" generated="True" extra-ref="StopIdleSessionUSec"/> + <!--End of Autogenerated section--> <refsect2> |