blob: 44461dfaf21185fc2dd45bc97c5bb0ba0f8e364d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Service]
# See https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer.
#
# To facilitate debugging when a service fails to stop cleanly,
# TimeoutStopFailureMode=abort is set to "crash" services that fail to stop in
# the time allotted. This will cause the service to be terminated with SIGABRT
# and a coredump to be generated.
#
# To undo this configuration change, create a mask file:
# sudo mkdir -p /etc/systemd/system/service.d
# sudo ln -sv /dev/null /etc/systemd/system/service.d/10-timeout-abort.conf
TimeoutStopFailureMode=abort
# Reduce timeout for starting and stopping services to 45s, see
# https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer
TimeoutStartSec=45
TimeoutStopSec=45
TimeoutAbortSec=45
|