summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-25 20:07:12 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-25 20:09:11 +0100
commit145f9c53ca9ed73d0edb39abac12141cd40a2526 (patch)
tree2c54a3d742879b70d6b7f268062f22535245591c /bus
parent84fdcc02ebd3891eb7abe7e32a983be518c139b5 (diff)
downloadat-spi2-core-145f9c53ca9ed73d0edb39abac12141cd40a2526.tar.gz
at-spi-dbus-bus service: set stop timeout to 5s
As reported on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890833 sometimes the at-spi bus may hang, and system shutdown then gets stuck. We'd better avoid hanging the whole system shutdown just for this, and just wait for 5s, like many other gnome user service pieces. Of course, at-spi2-core shouldn't be getting stuck, but better avoid hurting people, which makes them tend to just disable accessibility...
Diffstat (limited to 'bus')
-rw-r--r--bus/at-spi-dbus-bus.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bus/at-spi-dbus-bus.service.in b/bus/at-spi-dbus-bus.service.in
index cc41e24e..3c0b674b 100644
--- a/bus/at-spi-dbus-bus.service.in
+++ b/bus/at-spi-dbus-bus.service.in
@@ -7,3 +7,4 @@ Type=dbus
BusName=org.a11y.Bus
ExecStart=@libexecdir@/at-spi-bus-launcher
Slice=session.slice
+TimeoutStopSec=5