Set maximum service timeout on shutdown to 10s
This commit is contained in:
parent
2b1c6136ef
commit
16bb31f30b
1 changed files with 84 additions and 0 deletions
84
airootfs/etc/systemd/system.conf
Normal file
84
airootfs/etc/systemd/system.conf
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
# 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. Local configuration
|
||||||
|
# should be created by either modifying this file (or a copy of it placed in
|
||||||
|
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
|
||||||
|
# /etc/systemd/system.conf.d/ directory. The latter is generally recommended.
|
||||||
|
# Defaults can be restored by simply deleting the main configuration file and
|
||||||
|
# all drop-ins located in /etc/.
|
||||||
|
#
|
||||||
|
# Use 'systemd-analyze cat-config systemd/system.conf' to display the full config.
|
||||||
|
#
|
||||||
|
# See systemd-system.conf(5) for details.
|
||||||
|
|
||||||
|
[Manager]
|
||||||
|
#LogLevel=info
|
||||||
|
#LogTarget=journal-or-kmsg
|
||||||
|
#LogColor=yes
|
||||||
|
#LogLocation=no
|
||||||
|
#LogTime=no
|
||||||
|
#DumpCore=yes
|
||||||
|
#ShowStatus=yes
|
||||||
|
#CrashChangeVT=no
|
||||||
|
#CrashShell=no
|
||||||
|
#CrashReboot=no
|
||||||
|
#CtrlAltDelBurstAction=reboot-force
|
||||||
|
#CPUAffinity=
|
||||||
|
#NUMAPolicy=default
|
||||||
|
#NUMAMask=
|
||||||
|
#RuntimeWatchdogSec=off
|
||||||
|
#RuntimeWatchdogPreSec=off
|
||||||
|
#RuntimeWatchdogPreGovernor=
|
||||||
|
#RebootWatchdogSec=10min
|
||||||
|
#KExecWatchdogSec=off
|
||||||
|
#WatchdogDevice=
|
||||||
|
#CapabilityBoundingSet=
|
||||||
|
#NoNewPrivileges=no
|
||||||
|
#SystemCallArchitectures=
|
||||||
|
#TimerSlackNSec=
|
||||||
|
#StatusUnitFormat=description
|
||||||
|
#DefaultTimerAccuracySec=1min
|
||||||
|
#DefaultStandardOutput=journal
|
||||||
|
#DefaultStandardError=inherit
|
||||||
|
#DefaultTimeoutStartSec=90s
|
||||||
|
DefaultTimeoutStopSec=10s
|
||||||
|
#DefaultTimeoutAbortSec=
|
||||||
|
#DefaultDeviceTimeoutSec=90s
|
||||||
|
#DefaultRestartSec=100ms
|
||||||
|
#DefaultStartLimitIntervalSec=10s
|
||||||
|
#DefaultStartLimitBurst=5
|
||||||
|
#DefaultEnvironment=
|
||||||
|
#DefaultCPUAccounting=yes
|
||||||
|
#DefaultIOAccounting=no
|
||||||
|
#DefaultIPAccounting=no
|
||||||
|
#DefaultMemoryAccounting=yes
|
||||||
|
#DefaultTasksAccounting=yes
|
||||||
|
#DefaultTasksMax=15%
|
||||||
|
#DefaultLimitCPU=
|
||||||
|
#DefaultLimitFSIZE=
|
||||||
|
#DefaultLimitDATA=
|
||||||
|
#DefaultLimitSTACK=
|
||||||
|
#DefaultLimitCORE=
|
||||||
|
#DefaultLimitRSS=
|
||||||
|
#DefaultLimitNOFILE=1024:524288
|
||||||
|
#DefaultLimitAS=
|
||||||
|
#DefaultLimitNPROC=
|
||||||
|
#DefaultLimitMEMLOCK=8M
|
||||||
|
#DefaultLimitLOCKS=
|
||||||
|
#DefaultLimitSIGPENDING=
|
||||||
|
#DefaultLimitMSGQUEUE=
|
||||||
|
#DefaultLimitNICE=
|
||||||
|
#DefaultLimitRTPRIO=
|
||||||
|
#DefaultLimitRTTIME=
|
||||||
|
#DefaultMemoryPressureThresholdSec=200ms
|
||||||
|
#DefaultMemoryPressureWatch=auto
|
||||||
|
#DefaultOOMPolicy=stop
|
||||||
|
#DefaultSmackProcessLabel=
|
||||||
|
#ReloadLimitIntervalSec=
|
||||||
|
#ReloadLimitBurst=
|
||||||
|
|
Loading…
Reference in a new issue