]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/logind.conf.in
pam_systemd: always check if session is busy
[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 8# Entries in this file show the compile time defaults. Local configuration
c6080173
FB
9# should be created by either modifying this file (or a copy of it placed in
10# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
11# the /etc/systemd/logind.conf.d/ directory. The latter is generally
12# recommended. Defaults can be restored by simply deleting the main
13# configuration file and all drop-ins located in /etc/.
e8461023 14#
3b0754b1
ZJS
15# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
16#
e93549ef 17# See logind.conf(5) for details.
8fa365e5
LP
18
19[Login]
20#NAutoVTs=6
98a77df5 21#ReserveVT=6
c900d89f 22#KillUserProcesses={{ "yes" if KILL_USER_PROCESSES else "no" }}
8fa365e5
LP
23#KillOnlyUsers=
24#KillExcludeUsers=root
eecd1362 25#InhibitDelayMaxSec=5
6e220b4b 26#UserStopDelaySec=10
cd4dd90b 27#SleepOperation=suspend-then-hibernate suspend
beaafb2e 28#HandlePowerKey=poweroff
acc63800
LP
29#HandlePowerKeyLongPress=ignore
30#HandleRebootKey=reboot
31#HandleRebootKeyLongPress=poweroff
8e7fd6ad 32#HandleSuspendKey=suspend
acc63800 33#HandleSuspendKeyLongPress=hibernate
8e7fd6ad 34#HandleHibernateKey=hibernate
acc63800 35#HandleHibernateKeyLongPress=ignore
beaafb2e 36#HandleLidSwitch=suspend
e25937a3 37#HandleLidSwitchExternalPower=suspend
3c56cab4 38#HandleLidSwitchDocked=ignore
beaafb2e 39#PowerKeyIgnoreInhibited=no
8e7fd6ad
LP
40#SuspendKeyIgnoreInhibited=no
41#HibernateKeyIgnoreInhibited=no
beaafb2e 42#LidSwitchIgnoreInhibited=yes
adbb2b6a 43#RebootKeyIgnoreInhibited=no
9d10cbee 44#HoldoffTimeoutSec=30s
23406ce5
LP
45#IdleAction=ignore
46#IdleActionSec=30min
1c231f56 47#RuntimeDirectorySize=10%
0bc055cf 48#RuntimeDirectoryInodesMax=
66cdd0f2 49#RemoveIPC=yes
c5a11ae2 50#InhibitorsMax=8192
183e0738 51#SessionsMax=8192
82325af3 52#StopIdleSessionSec=infinity