summaryrefslogtreecommitdiff
path: root/plugins/datetime
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2019-12-10 14:58:06 +0100
committerCarlos Garnacho <mrgarnacho@gmail.com>2019-12-12 11:25:03 +0000
commitb4ccfcfcebb6dd59598559968628139d3096e61e (patch)
treed8b711e59afc60f9352c725fb97660479268c45c /plugins/datetime
parentbd102b0ffb4afd8611eefcaa246092a0949dbc25 (diff)
downloadgnome-settings-daemon-b4ccfcfcebb6dd59598559968628139d3096e61e.tar.gz
plugins: Lower systemd stop timeout
This prevents logout to hang if one of the g-s-d processes refuses to quit. That should never happen, but it does not hurt to configure systemd to kill the process already after 5 seconds rather than waiting up to 1 minute 30 seconds.
Diffstat (limited to 'plugins/datetime')
-rw-r--r--plugins/datetime/gsd-datetime.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/datetime/gsd-datetime.service.in b/plugins/datetime/gsd-datetime.service.in
index 980a6c91..bd4692b8 100644
--- a/plugins/datetime/gsd-datetime.service.in
+++ b/plugins/datetime/gsd-datetime.service.in
@@ -16,3 +16,4 @@ Type=dbus
ExecStart=@libexecdir@/gsd-datetime
Restart=on-failure
BusName=@plugin_dbus_name@
+TimeoutStopSec=5