[gnome-shell/wip/laney/shorter-timeout-stop-sec] data/gnome-shell-*.service.in: Lower TimeoutStartSec
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/laney/shorter-timeout-stop-sec] data/gnome-shell-*.service.in: Lower TimeoutStartSec
- Date: Tue, 3 Sep 2019 12:34:04 +0000 (UTC)
commit 6a3488a48f09a6621b597eedd9ad8bf14429caa2
Author: Iain Lane <iainl gnome org>
Date: Tue Sep 3 12:45:24 2019 +0100
data/gnome-shell-*.service.in: Lower TimeoutStartSec
If there's a stubborn process in our cgroup, we shouldn't hang around
waiting for the default (30 seconds) before the session closes. We've
logged out, SIGTERMed and the thing is refusing to go away, let's not
make people hang around for ages.
data/gnome-shell-wayland.service.in | 2 ++
data/gnome-shell-x11.service.in | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/data/gnome-shell-wayland.service.in b/data/gnome-shell-wayland.service.in
index 351571c7fc..04f94af2d6 100644
--- a/data/gnome-shell-wayland.service.in
+++ b/data/gnome-shell-wayland.service.in
@@ -23,3 +23,5 @@ ExecStart=@bindir@/gnome-shell
SuccessExitStatus=1
# On wayland we cannot restart
Restart=no
+# Kill any stubborn child processes after this long
+TimeoutStopSec=5
diff --git a/data/gnome-shell-x11.service.in b/data/gnome-shell-x11.service.in
index 2c9fec1b5a..a10c33d29d 100644
--- a/data/gnome-shell-x11.service.in
+++ b/data/gnome-shell-x11.service.in
@@ -29,3 +29,5 @@ SuccessExitStatus=1
Restart=always
# Do not wait before restarting the shell
RestartSec=0ms
+# Kill any stubborn child processes after this long
+TimeoutStopSec=5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]