1# This file is part of systemd. 2# 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. 7# 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 10# the logind.conf.d/ subdirectory. The latter is generally recommended. 11# Defaults can be restored by simply deleting this file and all drop-ins. 12# 13# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config. 14# 15# See logind.conf(5) for details. 16 17[Login] 18#NAutoVTs=6 19#ReserveVT=6 20#KillUserProcesses={{ "yes" if KILL_USER_PROCESSES else "no" }} 21#KillOnlyUsers= 22#KillExcludeUsers=root 23#InhibitDelayMaxSec=5 24#UserStopDelaySec=10 25#HandlePowerKey=poweroff 26#HandlePowerKeyLongPress=ignore 27#HandleRebootKey=reboot 28#HandleRebootKeyLongPress=poweroff 29#HandleSuspendKey=suspend 30#HandleSuspendKeyLongPress=hibernate 31#HandleHibernateKey=hibernate 32#HandleHibernateKeyLongPress=ignore 33#HandleLidSwitch=suspend 34#HandleLidSwitchExternalPower=suspend 35#HandleLidSwitchDocked=ignore 36#PowerKeyIgnoreInhibited=no 37#SuspendKeyIgnoreInhibited=no 38#HibernateKeyIgnoreInhibited=no 39#LidSwitchIgnoreInhibited=yes 40#RebootKeyIgnoreInhibited=no 41#HoldoffTimeoutSec=30s 42#IdleAction=ignore 43#IdleActionSec=30min 44#RuntimeDirectorySize=10% 45#RuntimeDirectoryInodesMax= 46#RemoveIPC=yes 47#InhibitorsMax=8192 48#SessionsMax=8192 49