]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
shutdown: make kill timeout configurable (#7835)
authorJan Klötzke <jan@kloetzke.net>
Wed, 10 Jan 2018 18:00:20 +0000 (19:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Jan 2018 18:00:20 +0000 (19:00 +0100)
commite73c54b838885237438f776b930e3624f8cb57f7
treee30d9f1b3663e54d32321e6d90f3d391252943a3
parent0a7eed95dd1c1eaca92e90731f20c4f11f0b9899
shutdown: make kill timeout configurable (#7835)

By default systemd-shutdown will wait for 90s after SIGTERM was sent
for all processes to exit. This is way too long and effectively defeats
an emergency watchdog reboot via "reboot-force" actions. Instead now
use DefaultTimeoutStopSec which is configurable.
src/core/killall.c
src/core/killall.h
src/core/main.c
src/core/shutdown.c