ryantimwilson / rpms / systemd

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