# This file is part of systemd.## systemd is free software; you can redistribute it and/or modify it# under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation; either version 2.1 of the License, or# (at your option) any later version.## Entries in this file show the compile time defaults.# You can change settings by editing this file.# Defaults can be restored by simply deleting this file.## See logind.conf(5) for details.
[Login]
#NAutoVTs=6#ReserveVT=6#KillUserProcesses=no#KillOnlyUsers=#KillExcludeUsers=root#InhibitDelayMaxSec=5#HandlePowerKey=poweroff#HandleSuspendKey=suspend#HandleHibernateKey=hibernate
HandleLidSwitch=lock#HandleLidSwitchDocked=ignore#PowerKeyIgnoreInhibited=no#SuspendKeyIgnoreInhibited=no#HibernateKeyIgnoreInhibited=no#LidSwitchIgnoreInhibited=yes#HoldoffTimeoutSec=30s#IdleAction=ignore#IdleActionSec=30min#RuntimeDirectorySize=10%#RemoveIPC=yes#UserTasksMax=12288
NAutoVTs 配置分配的虚拟终端(VT)数量,默认6个,取值为正整数
ReserveVConfigures whether the processes of a user should be killed when the user logs out.T标识一个无条件保留用于autovt @ .service激活的虚拟终端(与NAutoVTs有关)