diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-08-07 11:02:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-13 12:59:29 +0200 |
commit | 9afe9efb9340588db553950727a2a9672dc3db24 (patch) | |
tree | 9464ef9a75087868602fba2860adf13a1240a43e /man/logind.conf.xml | |
parent | 061c6607a9f2e39a76ee74048f19b5de16c8fac3 (diff) | |
download | systemd-9afe9efb9340588db553950727a2a9672dc3db24.tar.gz |
logind: optionally, keep the user@.service instance for eached logged in user around for a while
This should speed up rapid logout/login cycles a bit.
By default this timeout is now set to 10s.
Fixes: #8410
Replaces: #4434
Diffstat (limited to 'man/logind.conf.xml')
-rw-r--r-- | man/logind.conf.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/man/logind.conf.xml b/man/logind.conf.xml index d3551a1bc2..a407858957 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -185,6 +185,17 @@ </varlistentry> <varlistentry> + <term><varname>UserStopDelaySec=</varname></term> + + <listitem><para>Specifies how long to keep the user record and per-user service + <filename>user@.service</filename> around for a user after they logged out fully. If set to zero, the per-user + service is terminated immediately when the last session of the user has ended. If this option is configured to + non-zero rapid logout/login cycles are sped up, as the user's service manager is not constantly restarted. If + set to <literal>infinity</literal> the per-user service for a user is never terminated again after first login, + and continues to run until system shutdown. Defaults to 10s.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>HandlePowerKey=</varname></term> <term><varname>HandleSuspendKey=</varname></term> <term><varname>HandleHibernateKey=</varname></term> |