1 # This file is part of systemd.
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)
8 # Entries in this file show the compile time defaults. Local configuration
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/.
15 # Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
17 # See logind.conf(5) for details.
22 #KillUserProcesses={{ "yes" if KILL_USER_PROCESSES else "no" }}
24 #KillExcludeUsers=root
27 #SleepOperation=suspend-then-hibernate suspend
28 #HandlePowerKey=poweroff
29 #HandlePowerKeyLongPress=ignore
30 #HandleRebootKey=reboot
31 #HandleRebootKeyLongPress=poweroff
32 #HandleSuspendKey=suspend
33 #HandleSuspendKeyLongPress=hibernate
34 #HandleHibernateKey=hibernate
35 #HandleHibernateKeyLongPress=ignore
36 #HandleLidSwitch=suspend
37 #HandleLidSwitchExternalPower=suspend
38 #HandleLidSwitchDocked=ignore
39 #PowerKeyIgnoreInhibited=no
40 #SuspendKeyIgnoreInhibited=no
41 #HibernateKeyIgnoreInhibited=no
42 #LidSwitchIgnoreInhibited=yes
43 #RebootKeyIgnoreInhibited=no
44 #HoldoffTimeoutSec=30s
47 #RuntimeDirectorySize=10%
48 #RuntimeDirectoryInodesMax=
52 #StopIdleSessionSec=infinity