dryang / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
Richard Phibel 307406
# This file is part of the systemd package.
Richard Phibel 307406
# See https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer.
Richard Phibel 307406
#
Richard Phibel 307406
# To facilitate debugging when a service fails to stop cleanly,
Richard Phibel 307406
# TimeoutStopFailureMode=abort is set to "crash" services that fail to stop in
Richard Phibel 307406
# the time allotted. This will cause the service to be terminated with SIGABRT
Richard Phibel 307406
# and a coredump to be generated.
Richard Phibel 307406
#
Richard Phibel 307406
# To undo this configuration change, create a mask file:
Richard Phibel 307406
#   sudo mkdir -p /etc/systemd/system/service.d
Richard Phibel 307406
#   sudo ln -sv /dev/null /etc/systemd/system/service.d/10-timeout-abort.conf
Richard Phibel 307406
Richard Phibel 307406
[Service]
Richard Phibel 307406
TimeoutStopFailureMode=abort