mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
dc653bf487
When shooting down a service with SIGABRT the user might want to have a much longer stop timeout than on regular stops/shutdowns. Especially in the face of short stop timeouts the time might not be sufficient to write huge core dumps before the service is killed. This commit adds a dedicated (Default)TimeoutAbortSec= timer that is used when stopping a service via SIGABRT. In all other cases the existing TimeoutStopSec= is used. The timer value is unset by default to skip the special handling and use TimeoutStopSec= for state 'stop-watchdog' to keep the old behaviour. If the service is in state 'stop-watchdog' and the service should be stopped explicitly we still go to 'stop-sigterm' and re-apply the usual TimeoutStopSec= timeout.
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
# 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 systemd-system.conf(5) for details.
|
|
|
|
[Manager]
|
|
#LogLevel=info
|
|
#LogTarget=journal-or-kmsg
|
|
#LogColor=yes
|
|
#LogLocation=no
|
|
#DumpCore=yes
|
|
#ShowStatus=yes
|
|
#CrashChangeVT=no
|
|
#CrashShell=no
|
|
#CrashReboot=no
|
|
#CtrlAltDelBurstAction=reboot-force
|
|
#CPUAffinity=1 2
|
|
#RuntimeWatchdogSec=0
|
|
#ShutdownWatchdogSec=10min
|
|
#WatchdogDevice=
|
|
#CapabilityBoundingSet=
|
|
#NoNewPrivileges=no
|
|
#SystemCallArchitectures=
|
|
#TimerSlackNSec=
|
|
#DefaultTimerAccuracySec=1min
|
|
#DefaultStandardOutput=journal
|
|
#DefaultStandardError=inherit
|
|
#DefaultTimeoutStartSec=90s
|
|
#DefaultTimeoutStopSec=90s
|
|
#DefaultTimeoutAbortSec=
|
|
#DefaultRestartSec=100ms
|
|
#DefaultStartLimitIntervalSec=10s
|
|
#DefaultStartLimitBurst=5
|
|
#DefaultEnvironment=
|
|
#DefaultCPUAccounting=no
|
|
#DefaultIOAccounting=no
|
|
#DefaultIPAccounting=no
|
|
#DefaultBlockIOAccounting=no
|
|
#DefaultMemoryAccounting=@MEMORY_ACCOUNTING_DEFAULT@
|
|
#DefaultTasksAccounting=yes
|
|
#DefaultTasksMax=15%
|
|
#DefaultLimitCPU=
|
|
#DefaultLimitFSIZE=
|
|
#DefaultLimitDATA=
|
|
#DefaultLimitSTACK=
|
|
#DefaultLimitCORE=
|
|
#DefaultLimitRSS=
|
|
#DefaultLimitNOFILE=1024:@HIGH_RLIMIT_NOFILE@
|
|
#DefaultLimitAS=
|
|
#DefaultLimitNPROC=
|
|
#DefaultLimitMEMLOCK=
|
|
#DefaultLimitLOCKS=
|
|
#DefaultLimitSIGPENDING=
|
|
#DefaultLimitMSGQUEUE=
|
|
#DefaultLimitNICE=
|
|
#DefaultLimitRTPRIO=
|
|
#DefaultLimitRTTIME=
|