]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/logind.conf.in
Merge pull request #24242 from msekletar/terminate-idle-sessions
[thirdparty/systemd.git] / src / login / logind.conf.in
CommitLineData
8fa365e5
LP
1# This file is part of systemd.
2#
09db71a4
ZJS
3# systemd is free software; you can redistribute it and/or modify it under the
4# terms of the GNU Lesser General Public License as published by the Free
5# Software Foundation; either version 2.1 of the License, or (at your option)
6# any later version.
8fa365e5 7#
09db71a4
ZJS
8# Entries in this file show the compile time defaults. Local configuration
9# should be created by either modifying this file, or by creating "drop-ins" in
eb34cce1 10# the logind.conf.d/ subdirectory. The latter is generally recommended.
09db71a4 11# Defaults can be restored by simply deleting this file and all drop-ins.
e8461023 12#
3b0754b1
ZJS
13# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
14#
e93549ef 15# See logind.conf(5) for details.
8fa365e5
LP
16
17[Login]
18#NAutoVTs=6
98a77df5 19#ReserveVT=6
c900d89f 20#KillUserProcesses={{ "yes" if KILL_USER_PROCESSES else "no" }}
8fa365e5
LP
21#KillOnlyUsers=
22#KillExcludeUsers=root
eecd1362 23#InhibitDelayMaxSec=5
6e220b4b 24#UserStopDelaySec=10
beaafb2e 25#HandlePowerKey=poweroff
acc63800
LP
26#HandlePowerKeyLongPress=ignore
27#HandleRebootKey=reboot
28#HandleRebootKeyLongPress=poweroff
8e7fd6ad 29#HandleSuspendKey=suspend
acc63800 30#HandleSuspendKeyLongPress=hibernate
8e7fd6ad 31#HandleHibernateKey=hibernate
acc63800 32#HandleHibernateKeyLongPress=ignore
beaafb2e 33#HandleLidSwitch=suspend
e25937a3 34#HandleLidSwitchExternalPower=suspend
3c56cab4 35#HandleLidSwitchDocked=ignore
beaafb2e 36#PowerKeyIgnoreInhibited=no
8e7fd6ad
LP
37#SuspendKeyIgnoreInhibited=no
38#HibernateKeyIgnoreInhibited=no
beaafb2e 39#LidSwitchIgnoreInhibited=yes
adbb2b6a 40#RebootKeyIgnoreInhibited=no
9d10cbee 41#HoldoffTimeoutSec=30s
23406ce5
LP
42#IdleAction=ignore
43#IdleActionSec=30min
1c231f56 44#RuntimeDirectorySize=10%
0bc055cf 45#RuntimeDirectoryInodesMax=
66cdd0f2 46#RemoveIPC=yes
c5a11ae2 47#InhibitorsMax=8192
183e0738 48#SessionsMax=8192
82325af3 49#StopIdleSessionSec=infinity