[gnome-online-accounts/wip/terminate-on-logout] data: Reduce timeout to stop services
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/terminate-on-logout] data: Reduce timeout to stop services
- Date: Fri, 4 Dec 2020 11:29:40 +0000 (UTC)
commit 14ab32838373b11bcd07dd5f72905946d9049582
Author: Simon McVittie <smcv collabora com>
Date: Fri Dec 4 11:28:37 2020 +0000
data: Reduce timeout to stop services
The default is to send SIGTERM, then wait up to 90 seconds for the
service to exit gracefully before proceeding to SIGKILL. That seems
unnecessarily generous: if the service hasn't terminated in 5 seconds,
waiting longer probably isn't going to help.
Requested by Benjamin Berg in !63.
Signed-off-by: Simon McVittie <smcv collabora com>
data/goa-daemon.service.in | 1 +
data/goa-identity-service.service.in | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/data/goa-daemon.service.in b/data/goa-daemon.service.in
index aabfee91..764414d3 100644
--- a/data/goa-daemon.service.in
+++ b/data/goa-daemon.service.in
@@ -7,3 +7,4 @@ PartOf=graphical-session.target
ExecStart=@libexecdir@/goa-daemon
Type=dbus
BusName=org.gnome.OnlineAccounts
+TimeoutStopSec=5
diff --git a/data/goa-identity-service.service.in b/data/goa-identity-service.service.in
index d4855610..9a7b2757 100644
--- a/data/goa-identity-service.service.in
+++ b/data/goa-identity-service.service.in
@@ -7,3 +7,4 @@ PartOf=graphical-session.target
ExecStart=@libexecdir@/goa-identity-service
Type=dbus
BusName=org.gnome.Identity
+TimeoutStopSec=5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]