]> git.ipfire.org Git - thirdparty/systemd.git/commit
xdg-autostart-generator: extend start timeout
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Jun 2023 13:29:17 +0000 (15:29 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 8 Jun 2023 21:52:42 +0000 (22:52 +0100)
commit986a514bab7f3b4c171d894804c9e5c4393886fe
treeca0e5d8e9ebc70b485244f76d3822df415c5d3d8
parent7da9db535c9dbd0479cb5ae44e659489e00c96ce
xdg-autostart-generator: extend start timeout

The current start + stop timeouts for xdg autostart files are *very*
short with 5s. On a busy system this might be too easy to hit even in
unintended case.

Apparently, the intention here was to cut the shutdown logic short.
(https://github.com/systemd/systemd/issues/27919#issuecomment-1580576178)
Let's hence stick to the very short timeout for that (under the
assumption that apps are written in a safe enough style to not lose data
if killed too early). But for starting XGD autostrat services, use our
regular timeouts.

See: #27919
src/xdg-autostart-generator/xdg-autostart-service.c